]> git.openstreetmap.org Git - rails.git/blobdiff - test/models/user_test.rb
Rename Trace#public to Trace#visible_to_all
[rails.git] / test / models / user_test.rb
index 5e03c7e0322c576a76cfa3c8cbe0cf7b78352fa8..93bb348ba361b4e43f3062ab5364b7a5fa2c421d 100644 (file)
@@ -180,10 +180,10 @@ class UserTest < ActiveSupport::TestCase
     end
   end
 
-  def test_public
-    assert_equal 16, User.public.count
+  def test_identifiable
+    assert_equal 16, User.identifiable.count
     assert_raise ActiveRecord::RecordNotFound do
-      User.public.find(users(:normal_user).id)
+      User.identifiable.find(users(:normal_user).id)
     end
   end