Sha256: d9dec4545460a44cc3244e84f46d31b2d37a1947459b1c5a6d47cbe0139a097b
Contents?: true
Size: 902 Bytes
Versions: 1
Compression:
Stored size: 902 Bytes
Contents
# frozen_string_literal: true # Configure Rails Environment ENV['RAILS_ENV'] = 'test' # Run Coverage report require 'solidus_dev_support/rspec/coverage' require File.expand_path('dummy/config/environment.rb', __dir__).tap { |file| # Create the dummy app if it's still missing. system 'bin/rake extension:test_app' unless File.exist? file } # Requires factories and other useful helpers defined in spree_core. require 'solidus_dev_support/rspec/feature_helper' # Requires supporting ruby files with custom matchers and macros, etc, # in spec/support/ and its subdirectories. Dir[File.join(File.dirname(__FILE__), 'support/**/*.rb')].each { |f| require f } # Requires factories defined in lib/solidus_static_content/factories.rb require 'solidus_static_content/factories' RSpec.configure do |config| config.infer_spec_type_from_file_location! config.use_transactional_fixtures = false end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
solidus_static_content-2.0.0 | spec/spec_helper.rb |