X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/222cd46a57a074f0ac179c7382ca370159dbcd59..3ba48b313a41df9988b0e77874f624ac37fb1677:/test/unit/trace_test.rb?ds=sidebyside diff --git a/test/unit/trace_test.rb b/test/unit/trace_test.rb index b8cf6b88a..f840d6c5c 100644 --- a/test/unit/trace_test.rb +++ b/test/unit/trace_test.rb @@ -84,8 +84,8 @@ private end def trace_valid(attrs, result = true) - entry = Trace.new(gpx_files(:public_trace_file).attributes, :without_protection => true) - entry.assign_attributes(attrs, :without_protection => true) + entry = Trace.new(gpx_files(:public_trace_file).attributes) + entry.assign_attributes(attrs) assert_equal result, entry.valid?, "Expected #{attrs.inspect} to be #{result}" end end