]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/changeset_controller_test.rb
Merge remote-tracking branch 'upstream/pull/1693'
[rails.git] / test / controllers / changeset_controller_test.rb
index a0f7960c31b7197702ac2927734853e7996c13b3..5205714df9171ca72232ce460438b4fe72a0c3db 100644 (file)
@@ -812,9 +812,7 @@ CHANGESET
     assert_equal 2, Node.find(new_node_id).tags.size, "new node should have two tags"
     assert_equal [new_node_id, node.id], Way.find(way.id).nds, "way nodes should match"
     Relation.find(relation.id).members.each do |type, id, _role|
-      if type == "node"
-        assert_equal new_node_id, id, "relation should contain new node"
-      end
+      assert_equal new_node_id, id, "relation should contain new node" if type == "node"
     end
   end