[rspec-users] undefined method `autorun' for Spec::Runner:Module (NoMethodError)?

2009-07-10 Thread nnn
/home/jack/vendor/plugins/rspec/lib/spec/autorun.rb:3: undefined method `autorun' for Spec::Runner:Module (NoMethodError) from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `req

Re: [rspec-users] undefined method `autorun' for Spec::Runner:Module (NoMethodError)?

2009-07-10 Thread David Chelimsky
On Fri, Jul 10, 2009 at 1:06 AM, nnn wrote: > /home/jack/vendor/plugins/rspec/lib/spec/autorun.rb:3: undefined > method `autorun' for Spec::Runner:Module (NoMethodError) >        from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_require' >        from /usr/local/lib

Re: [rspec-users] stricter routing specs with conditional routes

2009-07-10 Thread jendavis
Thank you! This solved my problem. Maksim Horbul wrote: > > Here is the solution for that issue: > > it "should map {:action => 'edit'} to /admin/users/1" do > assert_generates("/admin/users/1", :controller => 'customer/users/1', > :action => 'edit') > end > -- View this message in

Re: [rspec-users] stricter routing specs with conditional routes

2009-07-10 Thread Maksim Horbul
Here is the solution for that issue: it "should map {:action => 'edit'} to /admin/users/1" do assert_generates("/admin/users/1", :controller => 'customer/users/1', :action => 'edit') end -- View this message in context: http://www.nabble.com/stricter-routing-specs-with-conditional-route