Prevents random failure in XmlTest.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4459 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2010-12-03 14:09:33 +00:00
parent 735a83c596
commit f6c633212a
1 changed files with 3 additions and 3 deletions

View File

@ -29,10 +29,10 @@ class Redmine::Views::Builders::XmlTest < HelperTestCase
end
def test_array
assert_xml_output('<books type="array"><book author="B. Smith" title="Book 1"/><book author="G. Cooper" title="Book 2"/></books>') do |b|
assert_xml_output('<books type="array"><book title="Book 1"/><book title="Book 2"/></books>') do |b|
b.array :books do |b|
b.book :title => 'Book 1', :author => 'B. Smith'
b.book :title => 'Book 2', :author => 'G. Cooper'
b.book :title => 'Book 1'
b.book :title => 'Book 2'
end
end
end