[rspec-users] [cucumber] rcumber resource mapping
walketim at gmail.com
Tue Dec 23 10:48:13 EST 2008
Just installed rcumber and added the following to routes.rb, etc.
map.rcumber 'rcumber', :controller => 'rcumbers', :action => 'index'
map.resources :rcumbers do |rcumber|
rcumber.run 'run', :controller => 'rcumbers', :action => 'run'
When browsing to page at:
undefined local variable or method `rcumber_runall_path' for
I see the correct path getting added to config.controllers path and I
sure see def runall in the rcumbers_controller.rb. and rake routes
shows the controller added as well, not sure why the
rcumber_runall_path isn't working. Probably just a noob named routes
Thanks for any help you can pass along.
More information about the rspec-users