From ecbf3c8fa7febbc6df078292db3c07685a9c9aaa Mon Sep 17 00:00:00 2001 From: Rohan Mitchell Date: Thu, 11 Jun 2015 16:16:36 +1000 Subject: [PATCH] Ensure we start with consistent config settings --- spec/spec_helper.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 2b3903dece..20dfcc8bca 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -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