]> git.openstreetmap.org Git - rails.git/blobdiff - test/models/changeset_test.rb
Fix rubocop lint issues
[rails.git] / test / models / changeset_test.rb
index f1ed1134ecd1214285b0b99b46eb3713402c6df1..dba1a3b4361695f18ed0e633142ceec3c8a07f04 100644 (file)
@@ -40,7 +40,7 @@ class ChangesetTest < ActiveSupport::TestCase
     message_update = assert_raise(OSM::APIBadXMLError) do
       Changeset.from_xml(nokv, false)
     end
-    assert_match /tag is missing key/, message_create.message
+    assert_match /tag is missing key/, message_update.message
   end
 
   def test_from_xml_no_v