Thanks Cynthia and Will.
I needed to create the file outside of Sublime and Terminal, which I'd grown accustomed to. As I move along the tutorial, I'm realizing how ridiculous my questions have been thus far. :\
Right now, I'm in Chapter 8 (or at least I was). I was dealing with a single error having to do with the "remember token" line within user_spec. In my attempt to solve the error by backtracking, I went from one to 18 failures. The local host doesn't respond. I'm lost. If possible, please help. I'm hoping there is an underlying problem for most of these:
Failure/Error: before { visit help_path }
ActionView::Template::Error:
undefined local variable or method `root_path' for #<#<Class:0x007fe39ec43f40>:0x007fe39ec40458>
# ./app/views/layouts/_header.html.erb:4:in `_app_views_layouts__header_html_erb___1072174696357414959_70307801136900'
# ./app/views/layouts/application.html.erb:11:in `_app_views_layouts_application_html_erb___1319578714786927615_70307799698760'
# ./spec/requests/static_pages_spec.rb:17:in `block (3 levels) in <top (required)>'
5) Static pages Help page
Failure/Error: before { visit help_path }
ActionView::Template::Error:
undefined local variable or method `root_path' for #<#<Class:0x007fe39ec43f40>:0x007fe39fafad68>
# ./app/views/layouts/_header.html.erb:4:in `_app_views_layouts__header_html_erb___1072174696357414959_70307801136900'
# ./app/views/layouts/application.html.erb:11:in `_app_views_layouts_application_html_erb___1319578714786927615_70307799698760'
# ./spec/requests/static_pages_spec.rb:17:in `block (3 levels) in <top (required)>'
6) Static pages Home page
Failure/Error: before { visit root_path }
NameError:
undefined local variable or method `root_path' for #<RSpec::Core::ExampleGroup::Nested_3::Nested_1:0x007fe39e8bddf8>
# ./spec/requests/static_pages_spec.rb:9:in `block (3 levels) in <top (required)>'
7) Static pages Home page
Failure/Error: before { visit root_path }
NameError:
undefined local variable or method `root_path' for #<RSpec::Core::ExampleGroup::Nested_3::Nested_1:0x007fe39c798b78>
# ./spec/requests/static_pages_spec.rb:9:in `block (3 levels) in <top (required)>'
8) Static pages Home page
Failure/Error: before { visit root_path }
NameError:
undefined local variable or method `root_path' for #<RSpec::Core::ExampleGroup::Nested_3::Nested_1:0x007fe39ec864a8>
# ./spec/requests/static_pages_spec.rb:9:in `block (3 levels) in <top (required)>'
9) Static pages About page
Failure/Error: before { visit about_path }
ActionView::Template::Error:
undefined local variable or method `root_path' for #<#<Class:0x007fe39ec43f40>:0x007fe39e8b4fa0>
# ./app/views/layouts/_header.html.erb:4:in `_app_views_layouts__header_html_erb___1072174696357414959_70307801136900'
# ./app/views/layouts/application.html.erb:11:in `_app_views_layouts_application_html_erb___1319578714786927615_70307799698760'
# ./spec/requests/static_pages_spec.rb:24:in `block (3 levels) in <top (required)>'
10) Static pages About page
Failure/Error: before { visit about_path }
ActionView::Template::Error:
undefined local variable or method `root_path' for #<#<Class:0x007fe39ec43f40>:0x007fe39f1f1410>
# ./app/views/layouts/_header.html.erb:4:in `_app_views_layouts__header_html_erb___1072174696357414959_70307801136900'
# ./app/views/layouts/application.html.erb:11:in `_app_views_layouts_application_html_erb___1319578714786927615_70307799698760'
# ./spec/requests/static_pages_spec.rb:24:in `block (3 levels) in <top (required)>'
11) Static pages Contact page
Failure/Error: before { visit contact_path }
ActionView::Template::Error:
undefined local variable or method `root_path' for #<#<Class:0x007fe39ec43f40>:0x007fe39f75fbb8>
# ./app/views/layouts/_header.html.erb:4:in `_app_views_layouts__header_html_erb___1072174696357414959_70307801136900'
# ./app/views/layouts/application.html.erb:11:in `_app_views_layouts_application_html_erb___1319578714786927615_70307799698760'
# ./spec/requests/static_pages_spec.rb:31:in `block (3 levels) in <top (required)>'
12) Static pages Contact page
Failure/Error: before { visit contact_path }
ActionView::Template::Error:
undefined local variable or method `root_path' for #<#<Class:0x007fe39ec43f40>:0x007fe39fb3ea90>
# ./app/views/layouts/_header.html.erb:4:in `_app_views_layouts__header_html_erb___1072174696357414959_70307801136900'
# ./app/views/layouts/application.html.erb:11:in `_app_views_layouts_application_html_erb___1319578714786927615_70307799698760'
# ./spec/requests/static_pages_spec.rb:31:in `block (3 levels) in <top (required)>'
13) User pages signup page
Failure/Error: before { visit signup_path }
ActionView::Template::Error:
undefined local variable or method `root_path' for #<#<Class:0x007fe39e827970>:0x007fe39e82b4d0>
# ./app/views/layouts/_header.html.erb:4:in `_app_views_layouts__header_html_erb___1072174696357414959_70307801136900'
# ./app/views/layouts/application.html.erb:11:in `_app_views_layouts_application_html_erb___1319578714786927615_70307799698760'
# ./spec/requests/user_pages_spec.rb:16:in `block (3 levels) in <top (required)>'
14) User pages signup page
Failure/Error: before { visit signup_path }
ActionView::Template::Error:
undefined local variable or method `root_path' for #<#<Class:0x007fe39e827970>:0x007fe39c4995a8>
# ./app/views/layouts/_header.html.erb:4:in `_app_views_layouts__header_html_erb___1072174696357414959_70307801136900'
# ./app/views/layouts/application.html.erb:11:in `_app_views_layouts_application_html_erb___1319578714786927615_70307799698760'
# ./spec/requests/user_pages_spec.rb:16:in `block (3 levels) in <top (required)>'
15) User pages profile page
Failure/Error: before { visit user_path(user) }
ActionView::Template::Error:
undefined local variable or method `root_path' for #<#<Class:0x007fe39e827970>:0x007fe39f0b35f8>
# ./app/views/layouts/_header.html.erb:4:in `_app_views_layouts__header_html_erb___1072174696357414959_70307801136900'
# ./app/views/layouts/application.html.erb:11:in `_app_views_layouts_application_html_erb___1319578714786927615_70307799698760'
# ./spec/requests/user_pages_spec.rb:9:in `block (3 levels) in <top (required)>'
16) User pages profile page
Failure/Error: before { visit user_path(user) }
ActionView::Template::Error:
undefined local variable or method `root_path' for #<#<Class:0x007fe39e827970>:0x007fe39ec6bcc0>
# ./app/views/layouts/_header.html.erb:4:in `_app_views_layouts__header_html_erb___1072174696357414959_70307801136900'
# ./app/views/layouts/application.html.erb:11:in `_app_views_layouts_application_html_erb___1319578714786927615_70307799698760'
# ./spec/requests/user_pages_spec.rb:9:in `block (3 levels) in <top (required)>'
17) User pages signup with invalid information should not create a user
Failure/Error: before { visit signup_path }
ActionView::Template::Error:
undefined local variable or method `root_path' for #<#<Class:0x007fe39e827970>:0x007fe39ec962e0>
# ./app/views/layouts/_header.html.erb:4:in `_app_views_layouts__header_html_erb___1072174696357414959_70307801136900'
# ./app/views/layouts/application.html.erb:11:in `_app_views_layouts_application_html_erb___1319578714786927615_70307799698760'
# ./spec/requests/user_pages_spec.rb:24:in `block (3 levels) in <top (required)>'
18) User pages signup with valid information should create a user
Failure/Error: before { visit signup_path }
ActionView::Template::Error:
undefined local variable or method `root_path' for #<#<Class:0x007fe39e827970>:0x007fe39c4a1de8>
# ./app/views/layouts/_header.html.erb:4:in `_app_views_layouts__header_html_erb___1072174696357414959_70307801136900'
# ./app/views/layouts/application.html.erb:11:in `_app_views_layouts_application_html_erb___1319578714786927615_70307799698760'
# ./spec/requests/user_pages_spec.rb:24:in `block (3 levels) in <top (required)>'
Finished in 1.39 seconds
39 examples, 18 failures
Failed examples:
rspec ./spec/requests/authentication_pages_spec.rb:10 # Authentication signin page
rspec ./spec/requests/authentication_pages_spec.rb:11 # Authentication signin page
rspec ./spec/models/user_spec.rb:17 # User