Hello everybody,
Being a new user of RoR, i'm experiencing a problem using Rspec, it
should end without errors but I still get this result:
PS C:\RubyTools\rubygems-2.2.2\rails_projects\sample_app> rspec spec
Called from:
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/actionpack-3.2.0/lib/action_dispatch/middleware/session/abstract_store.rb:28:in
`initialize'.
Rack::File headers parameter replaces cache_control after Rack 1.5.
FFFFFFFFF
Failures:
1) PagesController GET 'about' returns http success
Failure/Error: get 'about'
NoMethodError:
undefined method `get' for
#<RSpec::ExampleGroups::PagesController_2::GETAbout:0x69b85d8>
# ./spec/controllers/pages_controller_spec.rb:39:in `block (3
levels) in <top (required)>'
2) PagesController GET 'about' should have the right title
Failure/Error: get 'about'
NoMethodError:
undefined method `get' for
#<RSpec::ExampleGroups::PagesController_2::GETAbout:0x69dbb88>
# ./spec/controllers/pages_controller_spec.rb:43:in `block (3
levels) in <top (required)>'
--------------------------
Finished in 0 seconds
9 examples, 9 failures
Failed examples:
rspec ./spec/controllers/pages_controller_spec.rb:38 # PagesController
GET 'about' returns http success
rspec ./spec/controllers/pages_controller_spec.rb:42 # PagesController
GET 'about' should have the right
rspec ./spec/controllers/pages_controller_spec.rb:10 # PagesController
GET 'home' returns http success
----------------------------
Would you have an idea of where it comes from please?
Thanks a lot for your help!
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/7f0e8680e507ced3437590cec6bfa3b5%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.