make redirect_to test more explicit, hopefully 1.9.2 will like it slightly more

This commit is contained in:
maxwell 2011-02-18 11:58:04 -08:00
parent 0bf3cae54a
commit 585ca4820b

View file

@ -9,7 +9,7 @@ describe AdminsController do
it 'is behind redirect_unless_admin' do
get :user_search
response.should be_redirect
response.should redirect_to root_url
end
context 'admin signed in' do