diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-12-10 16:25:22 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-12-10 16:25:22 +0000 |
commit | 83deaad8e4cdfa6b662a0e2e845aff796ae8a7dd (patch) | |
tree | 922a39a595f595dad43b280b988ac9c94dcdd449 | |
parent | bbdd5f867633350fb14dd149c9f8ca7389351593 (diff) | |
download | redmine-83deaad8e4cdfa6b662a0e2e845aff796ae8a7dd.tar.gz redmine-83deaad8e4cdfa6b662a0e2e845aff796ae8a7dd.zip |
Fixed tests with the valid login url.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8181 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | test/integration/account_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/account_test.rb b/test/integration/account_test.rb index 864bb39a1..53b40aad1 100644 --- a/test/integration/account_test.rb +++ b/test/integration/account_test.rb @@ -151,7 +151,7 @@ class AccountTest < ActionController::IntegrationTest Setting.self_registration = '0' AuthSource.expects(:authenticate).returns({:login => 'foo', :firstname => 'Foo', :lastname => 'Smith', :mail => 'foo@bar.com', :auth_source_id => 66}) - post 'account/login', :username => 'foo', :password => 'bar' + post '/login', :username => 'foo', :password => 'bar' assert_redirected_to '/my/page' user = User.find_by_login('foo') @@ -165,7 +165,7 @@ class AccountTest < ActionController::IntegrationTest Setting.self_registration = '0' AuthSource.expects(:authenticate).returns({:login => 'foo', :lastname => 'Smith', :auth_source_id => 66}) - post 'account/login', :username => 'foo', :password => 'bar' + post '/login', :username => 'foo', :password => 'bar' assert_response :success assert_template 'account/register' assert_tag :input, :attributes => { :name => 'user[firstname]', :value => '' } |