woke factory girl

This commit is contained in:
Benjamin
2021-04-21 17:21:58 -05:00
parent 46fc427694
commit f96ae22388
8 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
FactoryBot.define do
factory :product do
sequence(:name){|i| "Product#{i}"}
price 34.95
price { 34.95 }
association :supplier
end
end