]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/old_relation_member.rb
Write button instead of link for 'Where is this?'
[rails.git] / test / factories / old_relation_member.rb
index 524a71074131f80daab8f1490bcd2a37c664c17c..99305cd98bfff94126522bf6df200a51c15f6a72 100644 (file)
@@ -1,9 +1,9 @@
 FactoryBot.define do
   factory :old_relation_member do
-    member_role ""
+    member_role { "" }
 
     old_relation
     # Default to creating nodes, but could be ways or relations as members
-    association :member, :factory => :node
+    member :factory => :node
   end
 end