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