diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-07-21 17:50:00 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-07-21 17:50:00 +0000 |
commit | e1da6de36f0d31f96d31ff7140718d263cfe0cca (patch) | |
tree | ec836a41436564459b39a7273aa1ddb45d5dbc55 /test/integration/account_test.rb | |
parent | 1d9caa46b1f1d4a8b65f59895a7234f76348ef7a (diff) | |
download | redmine-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/integration/account_test.rb')
-rw-r--r-- | test/integration/account_test.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/test/integration/account_test.rb b/test/integration/account_test.rb index 0f12a1c83..b1fd3f45a 100644 --- a/test/integration/account_test.rb +++ b/test/integration/account_test.rb @@ -27,7 +27,6 @@ class AccountTest < Redmine::IntegrationTest get "/my/account" assert_response :success - assert_template "my/account" end def test_login_should_set_session_token @@ -67,7 +66,6 @@ class AccountTest < Redmine::IntegrationTest cookies[:autologin] = token.value get '/my/page' assert_response :success - assert_template 'my/page' assert_equal user.id, session[:user_id] assert_not_nil user.reload.last_login_on end @@ -106,7 +104,6 @@ class AccountTest < Redmine::IntegrationTest get "/account/lost_password" assert_response :success - assert_template "account/lost_password" assert_select 'input[name=mail]' post "/account/lost_password", :mail => 'jSmith@somenet.foo' @@ -119,7 +116,6 @@ class AccountTest < Redmine::IntegrationTest get "/account/lost_password", :token => token.value assert_response :success - assert_template "account/password_recovery" assert_select 'input[type=hidden][name=token][value=?]', token.value assert_select 'input[name=new_password]' assert_select 'input[name=new_password_confirmation]' @@ -202,7 +198,6 @@ class AccountTest < Redmine::IntegrationTest get '/account/register' assert_response :success - assert_template 'account/register' post '/account/register', :user => {:login => "newuser", :language => "en", @@ -211,7 +206,6 @@ class AccountTest < Redmine::IntegrationTest assert_redirected_to '/my/account' follow_redirect! assert_response :success - assert_template 'my/account' user = User.find_by_login('newuser') assert_not_nil user @@ -275,7 +269,6 @@ class AccountTest < Redmine::IntegrationTest post '/login', :username => 'foo', :password => 'bar' assert_response :success - assert_template 'account/register' assert_select 'input[name=?][value=""]', 'user[firstname]' assert_select 'input[name=?][value=Smith]', 'user[lastname]' assert_select 'input[name=?]', 'user[login]', 0 |