mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Add required factory from spree_core
This commit is contained in:
7
spec/factories/price_factory.rb
Normal file
7
spec/factories/price_factory.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
FactoryBot.define do
|
||||
factory :price, class: Spree::Price do
|
||||
variant
|
||||
amount 19.99
|
||||
currency 'USD'
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user