[rspec-users] [cucumber] rcumber resource mapping

Tim Walker walketim at gmail.com
Tue Dec 23 10:48:13 EST 2008


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|
    rcumber.run 'run', :controller => 'rcumbers', :action => 'run'
  end

When browsing to page at:
  http://localhost:3000/rcumber

Get:
  undefined local variable or method `rcumber_runall_path' for
#<ActionView::Base:0x3797bf8>

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
misunderstanding.

Thanks for any help you can pass along.

Sincerely,

Tim


More information about the rspec-users mailing list