mirror of
https://github.com/meineerde/redmine.git
synced 2025-10-17 17:01:01 +00:00
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
This commit is contained in:
parent
bb2f49712e
commit
7c796b96cc
@ -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.
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user