]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/relation_member.rb
Merge pull request #4201 from AntonKhorev/issues-limit-settings
[rails.git] / test / factories / relation_member.rb
index 4357f3de7eb873dfca2aa1a6608d20a6a10c5d0e..bba2e76330d93cadedf45ae41cabd613fbe98a69 100644 (file)
@@ -1,9 +1,9 @@
 FactoryBot.define do
   factory :relation_member do
-    member_role ""
+    member_role { "" }
 
     relation
     # Default to creating nodes, but could be ways or relations as members
-    association :member, :factory => :node
+    member :factory => :node
   end
 end