Commit e8cad054a82ef5a6865bceaaaa11377c95b000c8

Authored by Rodrigo Souto
Committed by Joenio Costa
1 parent 6ca0d563

Fixing a little mistake in the 'unblock_enterprise'

	* Forgot to update completely the last patch.

(ActionItem1534)
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
test/functional/profile_controller_test.rb
@@ -669,7 +669,7 @@ class ProfileControllerTest < Test::Unit::TestCase @@ -669,7 +669,7 @@ class ProfileControllerTest < Test::Unit::TestCase
669 should 'ask for login if user not logged' do 669 should 'ask for login if user not logged' do
670 enterprise = fast_create(Enterprise) 670 enterprise = fast_create(Enterprise)
671 get :unblock, :profile => enterprise.identifier 671 get :unblock, :profile => enterprise.identifier
672 - assert_redirected_to "asdf" 672 + assert_redirected_to :controller => 'account', :action => 'login'
673 end 673 end
674 674
675 should ' not allow ordinary users to unblock enterprises' do 675 should ' not allow ordinary users to unblock enterprises' do