X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b3e540a6b6d9b9833ae57d9067774deb592c5164..b76bfe379e6527c9cfc2ced97aa615f8c2c45dd7:/test/unit/tracetag_test.rb diff --git a/test/unit/tracetag_test.rb b/test/unit/tracetag_test.rb index 0a22919b5..473071088 100644 --- a/test/unit/tracetag_test.rb +++ b/test/unit/tracetag_test.rb @@ -24,8 +24,8 @@ class TracetagTest < ActiveSupport::TestCase private def tracetag_valid(attrs, result = true) - entry = Tracetag.new(gpx_file_tags(:first_trace_1).attributes, :without_protection => true) - entry.assign_attributes(attrs, :without_protection => true) + entry = Tracetag.new(gpx_file_tags(:first_trace_1).attributes) + entry.assign_attributes(attrs) assert_equal result, entry.valid?, "Expected #{attrs.inspect} to be #{result}" end end