diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-12-03 14:09:33 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-12-03 14:09:33 +0000 |
commit | f6c633212a4ee6a1d598b4c4c5c0027cfeb9d010 (patch) | |
tree | fcc62316cacb5a9c1380c1199f5333b68ab0da32 | |
parent | 735a83c596156e32f8cc686207eecddc029d7629 (diff) | |
download | redmine-f6c633212a4ee6a1d598b4c4c5c0027cfeb9d010.tar.gz redmine-f6c633212a4ee6a1d598b4c4c5c0027cfeb9d010.zip |
Prevents random failure in XmlTest.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4459 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | test/unit/lib/redmine/views/builders/xml_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/lib/redmine/views/builders/xml_test.rb b/test/unit/lib/redmine/views/builders/xml_test.rb index 6a278fedb..3f251bf3b 100644 --- a/test/unit/lib/redmine/views/builders/xml_test.rb +++ b/test/unit/lib/redmine/views/builders/xml_test.rb @@ -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 |