[rspec-users] stricter routing specs with conditional routes

jendavis jdavis at medsagetechnologies.com
Fri Jul 10 13:42:46 EDT 2009


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 context: http://www.nabble.com/stricter-routing-specs-with-conditional-routes-tp22691023p24431870.html
Sent from the rspec-users mailing list archive at Nabble.com.



More information about the rspec-users mailing list