Add workaround to pass Spree core tests in Travis

This commit is contained in:
Julius Pabrinkis
2017-05-31 21:38:12 +01:00
committed by Rob H
parent cec0a8c2e7
commit b18177c215

View File

@@ -72,6 +72,10 @@ RSpec.configure do |config|
# rspec-rails.
config.infer_base_class_for_anonymous_controllers = false
# TODO - remove this line after Spree upgrade. Current Spree specs do not have `type: :controller` definitions.
# This is a workaround to pass tests in Travis i.e. https://travis-ci.org/openfoodfoundation/openfoodnetwork/jobs/235601640
config.infer_spec_type_from_file_location!
# Filters
config.filter_run_excluding :skip => true, :future => true, :to_figure_out => true