mirror of
https://github.com/redmine/redmine.git
synced 2025-11-15 17:56:03 +01:00
add space after comma to DocumentsControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@20131 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -55,7 +55,7 @@ class DocumentsControllerTest < Redmine::ControllerTest
|
|||||||
assert_response :success
|
assert_response :success
|
||||||
assert_select '#content' do
|
assert_select '#content' do
|
||||||
# ascending order of DocumentCategory#id.
|
# ascending order of DocumentCategory#id.
|
||||||
['Uncategorized', 'Technical documentation'].each_with_index do |text,idx|
|
['Uncategorized', 'Technical documentation'].each_with_index do |text, idx|
|
||||||
assert_select "h3:nth-of-type(#{idx + 1})", :text => text
|
assert_select "h3:nth-of-type(#{idx + 1})", :text => text
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@@ -69,7 +69,7 @@ class DocumentsControllerTest < Redmine::ControllerTest
|
|||||||
assert_response :success
|
assert_response :success
|
||||||
assert_select '#content' do
|
assert_select '#content' do
|
||||||
# descending order of date.
|
# descending order of date.
|
||||||
['2007-03-05', '2007-02-12'].each_with_index do |text,idx|
|
['2007-03-05', '2007-02-12'].each_with_index do |text, idx|
|
||||||
assert_select "h3:nth-of-type(#{idx + 1})", :text => text
|
assert_select "h3:nth-of-type(#{idx + 1})", :text => text
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@@ -83,7 +83,7 @@ class DocumentsControllerTest < Redmine::ControllerTest
|
|||||||
assert_response :success
|
assert_response :success
|
||||||
assert_select '#content' do
|
assert_select '#content' do
|
||||||
# ascending order of title.
|
# ascending order of title.
|
||||||
['A', 'T'].each_with_index do |text,idx|
|
['A', 'T'].each_with_index do |text, idx|
|
||||||
assert_select "h3:nth-of-type(#{idx + 1})", :text => text
|
assert_select "h3:nth-of-type(#{idx + 1})", :text => text
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@@ -97,7 +97,7 @@ class DocumentsControllerTest < Redmine::ControllerTest
|
|||||||
assert_response :success
|
assert_response :success
|
||||||
assert_select '#content' do
|
assert_select '#content' do
|
||||||
# ascending order of author.
|
# ascending order of author.
|
||||||
['John Smith', 'Redmine Admin'].each_with_index do |text,idx|
|
['John Smith', 'Redmine Admin'].each_with_index do |text, idx|
|
||||||
assert_select "h3:nth-of-type(#{idx + 1})", :text => text
|
assert_select "h3:nth-of-type(#{idx + 1})", :text => text
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user