X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/05beafb2f336a7ce6d22179b1270c299e6d52632..7377cb63939f8743ca31e67ea3965c2b15d20057:/test/models/changeset_test.rb diff --git a/test/models/changeset_test.rb b/test/models/changeset_test.rb index a5176fa8b..cdb1a8e85 100644 --- a/test/models/changeset_test.rb +++ b/test/models/changeset_test.rb @@ -64,10 +64,10 @@ class ChangesetTest < ActiveSupport::TestCase def test_from_xml_valid # Example taken from the Update section on the API_v0.6 docs on the wiki xml = "" - assert_nothing_raised(OSM::APIBadXMLError) do + assert_nothing_raised do Changeset.from_xml(xml, false) end - assert_nothing_raised(OSM::APIBadXMLError) do + assert_nothing_raised do Changeset.from_xml(xml, true) end end