]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/old_relation_member.rb
Use implicit style for associations with factory overrides
[rails.git] / test / factories / old_relation_member.rb
index 17495d7ea862703017f0124ed3506ee533407783..99305cd98bfff94126522bf6df200a51c15f6a72 100644 (file)
@@ -4,6 +4,6 @@ FactoryBot.define do
 
     old_relation
     # Default to creating nodes, but could be ways or relations as members
-    association :member, :factory => :node
+    member :factory => :node
   end
 end