Commit 7d210785193d36d7e33dda74738ad001e645694e

Authored by Rodrigo Souto
1 parent 22359d15

[postgres-tests] Fixing account tests

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
test/functional/account_controller_test.rb
... ... @@ -190,7 +190,7 @@ class AccountControllerTest < ActionController::TestCase
190 190 post :change_password, :current_password => 'test', :new_password => 'blabla', :new_password_confirmation => 'blabla'
191 191 assert_response :redirect
192 192 assert_redirected_to :action => 'index'
193   - assert User.find_by_login('ze').authenticated?('blabla')
  193 + assert assigns(:current_user).authenticated?('blabla')
194 194 assert_equal users(:ze), @controller.send(:current_user)
195 195 end
196 196  
... ...