From 585ca4820b6a1e2be987d4918c6ce42d2fce4785 Mon Sep 17 00:00:00 2001 From: maxwell Date: Fri, 18 Feb 2011 11:58:04 -0800 Subject: [PATCH] make redirect_to test more explicit, hopefully 1.9.2 will like it slightly more --- spec/controllers/admins_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/controllers/admins_controller_spec.rb b/spec/controllers/admins_controller_spec.rb index 1aaef3716..8bbcb4d1f 100644 --- a/spec/controllers/admins_controller_spec.rb +++ b/spec/controllers/admins_controller_spec.rb @@ -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