Skip to content

Commit

Permalink
Fix assertion for Ruby 1.9's Test::Unit
Browse files Browse the repository at this point in the history
  • Loading branch information
nbudin committed Sep 21, 2010
1 parent 869d42b commit f164a25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/checkout_command_xml_generator_test.rb
Expand Up @@ -190,7 +190,7 @@ def assert_google_checkout_diagnose_returns_no_warnings(xml_str)

# Check that there is no <warnings> tag in the XML.
xml_document = REXML::Document.new(res.body)
assert 0, xml_document.root.elements.to_a('//warnings').size
assert_equal 0, xml_document.root.elements.to_a('//warnings').size
end
end

Expand Down

0 comments on commit f164a25

Please sign in to comment.