From adebf4da1dba677f137b65be56d981ca1e2cef3d Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Thu, 6 Jun 2019 14:53:23 +0000 Subject: 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 --- test/system/issues_test.rb | 6 +++--- test/system/sudo_mode_test.rb | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'test/system') 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 -- cgit v1.2.3