X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/eab2eeaa47b2aa8c7f52371f9bfdd60711a41fb6..24df66b718e39a37eab151aa8fb5b6050789d81e:/test/models/trace_test.rb?ds=sidebyside diff --git a/test/models/trace_test.rb b/test/models/trace_test.rb index 9ec40f18f..9f713924d 100644 --- a/test/models/trace_test.rb +++ b/test/models/trace_test.rb @@ -27,8 +27,8 @@ class TraceTest < ActiveSupport::TestCase check_query(Trace.visible_to(3), [:public_trace_file, :identifiable_trace_file]) end - def test_public - check_query(Trace.public, [:public_trace_file, :identifiable_trace_file, :deleted_trace_file]) + def test_visible_to_all + check_query(Trace.visible_to_all, [:public_trace_file, :identifiable_trace_file, :deleted_trace_file]) end def test_tagged