make redirect_to test more explicit, hopefully 1.9.2 will like it slightly more
This commit is contained in:
parent
0bf3cae54a
commit
585ca4820b
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue