summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-10-19 12:25:22 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-10-19 12:25:22 +0000
commit7c796b96cc55e292a628120f1fbab98054683a54 (patch)
tree63f3e61d66e960b4608e6896a5c9e67f9d2a4a87
parentbb2f49712e9ab067f53feef5cc877efeb91006b4 (diff)
downloadredmine-7c796b96cc55e292a628120f1fbab98054683a54.tar.gz
redmine-7c796b96cc55e292a628120f1fbab98054683a54.zip
code cleanup: rubocop: fix Layout/SpaceBeforeComma in test/unit/lib/redmine/helpers/calendar_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18771 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--.rubocop_todo.yml1
-rw-r--r--test/unit/lib/redmine/helpers/calendar_test.rb2
2 files changed, 1 insertions, 2 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 48dd6f753..c88c62e65 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -283,7 +283,6 @@ Layout/SpaceBeforeComma:
- 'lib/redmine/export/pdf.rb'
- 'test/helpers/application_helper_test.rb'
- 'test/mocks/open_id_authentication_mock.rb'
- - 'test/unit/lib/redmine/helpers/calendar_test.rb'
# Cop supports --auto-correct.
# Configuration parameters: AllowForAlignment.
diff --git a/test/unit/lib/redmine/helpers/calendar_test.rb b/test/unit/lib/redmine/helpers/calendar_test.rb
index 74e617fad..f048ac23e 100644
--- a/test/unit/lib/redmine/helpers/calendar_test.rb
+++ b/test/unit/lib/redmine/helpers/calendar_test.rb
@@ -47,7 +47,7 @@ class CalendarTest < ActiveSupport::TestCase
[1, 6, 7].each do |day|
with_settings :start_of_week => day do
c = Redmine::Helpers::Calendar.new(Date.today, :en, :month)
- assert_equal day , c.startdt.cwday
+ assert_equal day, c.startdt.cwday
assert_equal (day + 5) % 7 + 1, c.enddt.cwday
end
end