diff options
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 |