diff options
author | Go MAEDA <maeda@farend.jp> | 2024-08-12 08:36:05 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2024-08-12 08:36:05 +0000 |
commit | 6e21ae720909f9980e58c9411fb9ed8a81f06833 (patch) | |
tree | cdf11a115134b45344fe180f829c1686981b47b1 /test/system/timelog_test.rb | |
parent | b224d878c33d24df81650667d18035652a18911f (diff) | |
download | redmine-6e21ae720909f9980e58c9411fb9ed8a81f06833.tar.gz redmine-6e21ae720909f9980e58c9411fb9ed8a81f06833.zip |
Fix RuboCop offense Layout/SpaceAfterComma, one of the offenses enabled in rubocop-rails-omakase (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22953 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/system/timelog_test.rb')
-rw-r--r-- | test/system/timelog_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/system/timelog_test.rb b/test/system/timelog_test.rb index 2545dc694..94b86f592 100644 --- a/test/system/timelog_test.rb +++ b/test/system/timelog_test.rb @@ -54,7 +54,7 @@ class TimelogTest < ApplicationSystemTestCase select 'QA', :from => 'Activity' page.first(:button, 'Submit').click - entries = TimeEntry.where(:id => [1,2,3]).to_a + entries = TimeEntry.where(:id => [1, 2, 3]).to_a assert entries.all? {|entry| entry.hours == 8.5} assert entries.all? {|entry| entry.activity.name == 'QA'} end @@ -70,7 +70,7 @@ class TimelogTest < ApplicationSystemTestCase page.first(:button, 'Submit').click assert_current_path "/projects/ecookbook/time_entries" - entries = TimeEntry.where(:id => [1,2,3]).to_a + entries = TimeEntry.where(:id => [1, 2, 3]).to_a assert entries.all? {|entry| entry.hours == 7.0} end |