Skip to content

Commit 589609f

Browse files
committed
fix source indent of IssuesHelperTest
git-svn-id: http://svn.redmine.org/redmine/trunk@20088 e93f8b46-1217-0410-a6f0-8f06a7374b81
1 parent a82bf2c commit 589609f

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

test/helpers/issues_helper_test.rb

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -117,25 +117,27 @@ def test_issues_destroy_confirmation_message_with_issues_that_share_descendants
117117
end
118118

119119
test 'show_detail with a start_date attribute should format the dates' do
120-
detail = JournalDetail.new(
121-
:property => 'attr',
122-
:old_value => '2010-01-01',
123-
:value => '2010-01-31',
124-
:prop_key => 'start_date'
125-
)
120+
detail =
121+
JournalDetail.new(
122+
:property => 'attr',
123+
:old_value => '2010-01-01',
124+
:value => '2010-01-31',
125+
:prop_key => 'start_date'
126+
)
126127
with_settings :date_format => '%m/%d/%Y' do
127128
assert_match "01/31/2010", show_detail(detail, true)
128129
assert_match "01/01/2010", show_detail(detail, true)
129130
end
130131
end
131132

132133
test 'show_detail with a due_date attribute should format the dates' do
133-
detail = JournalDetail.new(
134-
:property => 'attr',
135-
:old_value => '2010-01-01',
136-
:value => '2010-01-31',
137-
:prop_key => 'due_date'
138-
)
134+
detail =
135+
JournalDetail.new(
136+
:property => 'attr',
137+
:old_value => '2010-01-01',
138+
:value => '2010-01-31',
139+
:prop_key => 'due_date'
140+
)
139141
with_settings :date_format => '%m/%d/%Y' do
140142
assert_match "01/31/2010", show_detail(detail, true)
141143
assert_match "01/01/2010", show_detail(detail, true)

0 commit comments

Comments
 (0)