diff options
author | Go MAEDA <maeda@farend.jp> | 2019-06-06 14:53:23 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2019-06-06 14:53:23 +0000 |
commit | adebf4da1dba677f137b65be56d981ca1e2cef3d (patch) | |
tree | 63ced2a2d9a15f055b61620b9fa76fcc7a377510 /test/system | |
parent | 7ba7a19cf6047d5428069d6b4a57a5f8859f6826 (diff) | |
download | redmine-adebf4da1dba677f137b65be56d981ca1e2cef3d.tar.gz redmine-adebf4da1dba677f137b65be56d981ca1e2cef3d.zip |
Remove trailing whitespaces from test (#31506).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@18233 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/system')
-rw-r--r-- | test/system/issues_test.rb | 6 | ||||
-rw-r--r-- | test/system/sudo_mode_test.rb | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/system/issues_test.rb b/test/system/issues_test.rb index 5842061c7..8118277bf 100644 --- a/test/system/issues_test.rb +++ b/test/system/issues_test.rb @@ -50,7 +50,7 @@ class IssuesTest < ApplicationSystemTestCase # check issue attributes assert_equal 'jsmith', issue.author.login assert_equal 1, issue.project.id - assert_equal IssueStatus.find_by_name('New'), issue.status + assert_equal IssueStatus.find_by_name('New'), issue.status assert_equal Tracker.find_by_name('Bug'), issue.tracker assert_equal IssuePriority.find_by_name('Low'), issue.priority assert_equal 'Value for field 2', issue.custom_field_value(CustomField.find_by_name('Searchable field')) @@ -291,9 +291,9 @@ class IssuesTest < ApplicationSystemTestCase # Check that the page shows the Estimated hours total assert page.has_css?('p.query-totals') assert page.has_css?('span.total-for-estimated-hours') - # Open the Options of the form (necessary for having the totalable columns options clickable) + # Open the Options of the form (necessary for having the totalable columns options clickable) page.all('legend')[1].click - # Deselect the default totalable column (none should be left) + # Deselect the default totalable column (none should be left) page.first('input[name="t[]"][value="estimated_hours"]').click within('#query_form') do click_link 'Apply' diff --git a/test/system/sudo_mode_test.rb b/test/system/sudo_mode_test.rb index 168c7cdc8..644e7d702 100644 --- a/test/system/sudo_mode_test.rb +++ b/test/system/sudo_mode_test.rb @@ -35,7 +35,7 @@ class SudoModeTest < ApplicationSystemTestCase def test_add_user log_user('admin', 'admin') expire_sudo_mode! - + visit '/users/new' assert_difference 'User.count' do |