]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/user_blocks.rb
Rework coordinates to avoid scientific formatting of small numbers. Fixes #1509
[rails.git] / test / factories / user_blocks.rb
index 8f7edaf6e2f4444fda84ca7b1b4fb3fdd04a05d6..f1ef5b65b02a707ce9ec326054e364d1c61faca6 100644 (file)
@@ -15,8 +15,7 @@ FactoryGirl.define do
     end
 
     trait :revoked do
-      # FIXME: requires User factory
-      revoker_id 5
+      association :revoker, :factory => :moderator_user
     end
   end
 end