Forum: RSpec [cucumber] rcumber resource mapping

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Tim W. (Guest)
on 2008-12-23 17:50
(Received via mailing list)
Hi Guys,

Just installed rcumber and added the following to routes.rb, etc.
 map.rcumber 'rcumber', :controller => 'rcumbers', :action => 'index'
  map.resources :rcumbers do |rcumber| '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.


This topic is locked and can not be replied to.