From e8cad054a82ef5a6865bceaaaa11377c95b000c8 Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Fri, 21 May 2010 09:25:44 -0300 Subject: [PATCH] Fixing a little mistake in the 'unblock_enterprise' --- test/functional/profile_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/profile_controller_test.rb b/test/functional/profile_controller_test.rb index 2d68a2e..1afc29b 100644 --- a/test/functional/profile_controller_test.rb +++ b/test/functional/profile_controller_test.rb @@ -669,7 +669,7 @@ class ProfileControllerTest < Test::Unit::TestCase should 'ask for login if user not logged' do enterprise = fast_create(Enterprise) get :unblock, :profile => enterprise.identifier - assert_redirected_to "asdf" + assert_redirected_to :controller => 'account', :action => 'login' end should ' not allow ordinary users to unblock enterprises' do -- libgit2 0.21.2