]> source.dussan.org Git - redmine.git/commitdiff
Prevents random failure in XmlTest.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 3 Dec 2010 14:09:33 +0000 (14:09 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 3 Dec 2010 14:09:33 +0000 (14:09 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4459 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/lib/redmine/views/builders/xml_test.rb

index 6a278fedb2fca5344e6b65a9a2de4d12890ee759..3f251bf3bf5bbaa54a2c95cbfe8b97298c8e7c11 100644 (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