X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0d3a9ed9cb47ce3b89ea9eaffbb589f9a9ff6d22..4729163aa8e9bf6a7c9f12a8fcd77e6b632e9d80:/test/unit/node_test.rb diff --git a/test/unit/node_test.rb b/test/unit/node_test.rb index 753e6a95c..c62e15b29 100644 --- a/test/unit/node_test.rb +++ b/test/unit/node_test.rb @@ -77,13 +77,13 @@ class NodeTest < ActiveSupport::TestCase # Check that you can create a node and store it def test_create - node_template = Node.new({ + node_template = Node.new( :latitude => 12.3456, :longitude => 65.4321, :changeset_id => changesets(:normal_user_first_change).id, :visible => 1, :version => 1 - }, :without_protection => true) + ) assert node_template.create_with_history(users(:normal_user)) node = Node.find(node_template.id)