summaryrefslogtreecommitdiffstats
path: root/test/test_helper.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-07-21 17:50:00 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-07-21 17:50:00 +0000
commite1da6de36f0d31f96d31ff7140718d263cfe0cca (patch)
treeec836a41436564459b39a7273aa1ddb45d5dbc55 /test/test_helper.rb
parent1d9caa46b1f1d4a8b65f59895a7234f76348ef7a (diff)
downloadredmine-e1da6de36f0d31f96d31ff7140718d263cfe0cca.tar.gz
redmine-e1da6de36f0d31f96d31ff7140718d263cfe0cca.zip
Removes calls to #assert_template and #assigns in integration tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@15727 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/test_helper.rb')
-rw-r--r--test/test_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb
index 0be4d42ae..f43b10df0 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -321,7 +321,7 @@ module Redmine
get "/login"
assert_equal nil, session[:user_id]
assert_response :success
- assert_template "account/login"
+
post "/login", :username => login, :password => password
assert_equal login, User.find(session[:user_id]).login
end