diff options
Diffstat (limited to 'test/functional/account_controller_test.rb')
-rw-r--r-- | test/functional/account_controller_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/account_controller_test.rb b/test/functional/account_controller_test.rb index a923de3ea..666acf0dd 100644 --- a/test/functional/account_controller_test.rb +++ b/test/functional/account_controller_test.rb @@ -45,7 +45,7 @@ class AccountControllerTest < Test::Unit::TestCase end def test_login_with_wrong_password - post :login, :login => 'admin', :password => 'bad' + post :login, :username => 'admin', :password => 'bad' assert_response :success assert_template 'login' assert_tag 'div', @@ -56,7 +56,7 @@ class AccountControllerTest < Test::Unit::TestCase def test_autologin Setting.autologin = "7" Token.delete_all - post :login, :login => 'admin', :password => 'admin', :autologin => 1 + post :login, :username => 'admin', :password => 'admin', :autologin => 1 assert_redirected_to 'my/page' token = Token.find :first assert_not_nil token |