Forum: RSpec [cucumber] rcumber resource mapping

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community 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|
    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
This topic is locked and can not be replied to.