mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Ensure we start with consistent config settings
This commit is contained in:
@@ -80,6 +80,9 @@ RSpec.configure do |config|
|
||||
# Geocoding
|
||||
config.before(:each) { Spree::Address.any_instance.stub(:geocode).and_return([1,1]) }
|
||||
|
||||
# Ensure we start with consistent config settings
|
||||
config.before(:all) { Spree::Config.products_require_tax_category = false }
|
||||
|
||||
# Helpers
|
||||
config.include Rails.application.routes.url_helpers
|
||||
config.include Spree::UrlHelpers
|
||||
|
||||
Reference in New Issue
Block a user