Displaying 1 result from an estimated 1 matches for "admin_group_url".
2007 Oct 28
2
failing test with nested controller routes
...rface for admin.
the specs are the same as generated, so I won''t post the whole thing.
I did put the nested routes names on the calls to the name routes:
it "should redirect to the new group on successful save" do
post_with_successful_save
response.should redirect_to(admin_group_url("1"))
end
the error:
1)
''Admin::GroupsController handling POST /admin/groups should redirect to the new
group on successful save'' FAILED
expected redirect to "http://test.host/admin/groups/1", got redirect to "http://
test.host/groups/1"
./spec/con...