mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Make specs load product duplicator
This makes the ofn version of the product duplicator be used instead of the spree one
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
require 'open_food_network/permissions'
|
||||
require 'spree/product_duplicator'
|
||||
|
||||
module Api
|
||||
class ProductsController < Api::BaseController
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
require 'spec_helper'
|
||||
require 'spree/product_duplicator'
|
||||
|
||||
describe Api::ProductsController, type: :controller do
|
||||
render_views
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
require 'spec_helper'
|
||||
require 'spree/product_duplicator'
|
||||
|
||||
module Spree
|
||||
describe Product do
|
||||
|
||||
Reference in New Issue
Block a user