Commit f6c63321 authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

Prevents random failure in XmlTest.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4459 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 735a83c5
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment