]> git.openstreetmap.org Git - rails.git/blobdiff - test/models/changeset_test.rb
Rework OpenID tests for new flows using OmniAuth mocking
[rails.git] / test / models / changeset_test.rb
index f1ed1134ecd1214285b0b99b46eb3713402c6df1..949b0ea22da5d9514bf480b54eb133870aaeb518 100644 (file)
@@ -1,4 +1,4 @@
-require 'test_helper'
+require "test_helper"
 
 class ChangesetTest < ActiveSupport::TestCase
   api_fixtures
@@ -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