Bring api spec helpers from spree_api into ofn/api_helper

This commit is contained in:
luisramos0
2019-07-20 00:35:36 +01:00
parent 50765563f8
commit 25451eed6b
10 changed files with 11 additions and 17 deletions

View File

@@ -1,7 +0,0 @@
require 'spree/api/testing_support/helpers'
Spree::Api::TestingSupport::Helpers.class_eval do
def current_api_user
@current_api_user ||= Spree::LegacyUser.new(email: "spree@example.com", enterprises: [])
end
end