X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/48be94184081dd3dd2a329aa8ee579c065e0c65e..99c54bc5b6c06f9457d45cdd42bd078b20ffb779:/test/models/changeset_test.rb?ds=inline 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