Ensure we start with consistent config settings

This commit is contained in:
Rohan Mitchell
2015-06-11 16:16:36 +10:00
parent bfeb63c8d7
commit ecbf3c8fa7

View File

@@ -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