Skip to content

Instantly share code, notes, and snippets.

@harushimo
Created December 7, 2012 01:19
Show Gist options
  • Save harushimo/4229960 to your computer and use it in GitHub Desktop.
Save harushimo/4229960 to your computer and use it in GitHub Desktop.
ruby rspec error
F
Failures:
1) StaticPages Home page should have the content 'Sample App'
Failure/Error: visit '/static_pages/home'
NoMethodError:
undefined method `visit' for #<RSpec::Core::ExampleGroup::Nested_1::Nested_1:0x007f84d4d6bef0>
# ./spec/requests/static_pages_spec.rb:9:in `block (3 levels) in <top (required)>'
Finished in 0.01819 seconds
1 example, 1 failure
Failed examples:
rspec ./spec/requests/static_pages_spec.rb:7 # StaticPages Home page should have the content 'Sample App'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment