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.
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users