From 72a39fdf54ce35fb48dbce0ae00a83f1530efd5b Mon Sep 17 00:00:00 2001 From: Luis Ramos Date: Mon, 31 Aug 2020 12:10:49 +0100 Subject: [PATCH] Add required factory from spree_core --- spec/factories/price_factory.rb | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 spec/factories/price_factory.rb diff --git a/spec/factories/price_factory.rb b/spec/factories/price_factory.rb new file mode 100644 index 0000000000..fe84e5c8f5 --- /dev/null +++ b/spec/factories/price_factory.rb @@ -0,0 +1,7 @@ +FactoryBot.define do + factory :price, class: Spree::Price do + variant + amount 19.99 + currency 'USD' + end +end