]> git.openstreetmap.org Git - rails.git/blobdiff - test/models/trace_test.rb
Update Potlatch 2 to 2.3-648-g9cab056 build
[rails.git] / test / models / trace_test.rb
index 9ec40f18f40e75c610b101cef01c0a4c5d48388d..9f713924d1dc0128e9a526feed452b7d74e3cbf4 100644 (file)
@@ -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