[rspec-users] stricter routing specs with conditional routes

Maksim Horbul max at gorbul.net
Fri Jul 10 13:34:02 EDT 2009

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

More information about the rspec-users mailing list