Skip to content

Commit b81f601

Browse files
committed
add space after comma to DocumentsControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@20131 e93f8b46-1217-0410-a6f0-8f06a7374b81
1 parent 2cf079b commit b81f601

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/functional/documents_controller_test.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def test_index_grouped_by_category
5555
assert_response :success
5656
assert_select '#content' do
5757
# ascending order of DocumentCategory#id.
58-
['Uncategorized', 'Technical documentation'].each_with_index do |text,idx|
58+
['Uncategorized', 'Technical documentation'].each_with_index do |text, idx|
5959
assert_select "h3:nth-of-type(#{idx + 1})", :text => text
6060
end
6161
end
@@ -69,7 +69,7 @@ def test_index_grouped_by_date
6969
assert_response :success
7070
assert_select '#content' do
7171
# descending order of date.
72-
['2007-03-05', '2007-02-12'].each_with_index do |text,idx|
72+
['2007-03-05', '2007-02-12'].each_with_index do |text, idx|
7373
assert_select "h3:nth-of-type(#{idx + 1})", :text => text
7474
end
7575
end
@@ -83,7 +83,7 @@ def test_index_grouped_by_title
8383
assert_response :success
8484
assert_select '#content' do
8585
# ascending order of title.
86-
['A', 'T'].each_with_index do |text,idx|
86+
['A', 'T'].each_with_index do |text, idx|
8787
assert_select "h3:nth-of-type(#{idx + 1})", :text => text
8888
end
8989
end
@@ -97,7 +97,7 @@ def test_index_grouped_by_author
9797
assert_response :success
9898
assert_select '#content' do
9999
# ascending order of author.
100-
['John Smith', 'Redmine Admin'].each_with_index do |text,idx|
100+
['John Smith', 'Redmine Admin'].each_with_index do |text, idx|
101101
assert_select "h3:nth-of-type(#{idx + 1})", :text => text
102102
end
103103
end

0 commit comments

Comments
 (0)