]> git.openstreetmap.org Git - rails.git/blobdiff - test/models/trace_test.rb
Add tags to features before propogating them.
[rails.git] / test / models / trace_test.rb
index 524ec637a85e23903b1c8be2d075bc33dbdbef2b..32d98c9ebdb8588cfc6136138555b9259711ae5f 100644 (file)
@@ -26,30 +26,30 @@ class TraceTest < ActiveSupport::TestCase
 
   def test_visible
     check_query(Trace.visible, [
 
   def test_visible
     check_query(Trace.visible, [
-      :public_trace_file, :anon_trace_file, :trackable_trace_file,
-      :identifiable_trace_file, :zipped_trace_file, :tar_trace_file,
-      :tar_gzip_trace_file, :tar_bzip_trace_file, :pending_trace_file
-    ])
+                  :public_trace_file, :anon_trace_file, :trackable_trace_file,
+                  :identifiable_trace_file, :zipped_trace_file, :tar_trace_file,
+                  :tar_gzip_trace_file, :tar_bzip_trace_file, :pending_trace_file
+                ])
   end
 
   def test_visible_to
     check_query(Trace.visible_to(1), [
   end
 
   def test_visible_to
     check_query(Trace.visible_to(1), [
-      :public_trace_file, :identifiable_trace_file, :pending_trace_file
-    ])
+                  :public_trace_file, :identifiable_trace_file, :pending_trace_file
+                ])
     check_query(Trace.visible_to(2), [
     check_query(Trace.visible_to(2), [
-      :public_trace_file, :anon_trace_file, :trackable_trace_file,
-      :identifiable_trace_file, :pending_trace_file
-    ])
+                  :public_trace_file, :anon_trace_file, :trackable_trace_file,
+                  :identifiable_trace_file, :pending_trace_file
+                ])
     check_query(Trace.visible_to(3), [
     check_query(Trace.visible_to(3), [
-      :public_trace_file, :identifiable_trace_file, :pending_trace_file
-    ])
+                  :public_trace_file, :identifiable_trace_file, :pending_trace_file
+                ])
   end
 
   def test_visible_to_all
     check_query(Trace.visible_to_all, [
   end
 
   def test_visible_to_all
     check_query(Trace.visible_to_all, [
-      :public_trace_file, :identifiable_trace_file,
-      :deleted_trace_file, :pending_trace_file
-    ])
+                  :public_trace_file, :identifiable_trace_file,
+                  :deleted_trace_file, :pending_trace_file
+                ])
   end
 
   def test_tagged
   end
 
   def test_tagged