Sha256: 38770a2ef50fa4731691c445364d66559e10d7db3e20b5fe3f77f51f18d04555
Contents?: true
Size: 848 Bytes
Versions: 2
Compression:
Stored size: 848 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__) # 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_stripe/factories.rb require 'solidus_stripe/factories' RSpec.configure do |config| config.infer_spec_type_from_file_location! FactoryBot.find_definitions config.use_transactional_fixtures = false config.include SolidusAddressNameHelper, type: :feature end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
solidus_stripe-4.2.0 | spec/spec_helper.rb |
solidus_stripe-4.1.0 | spec/spec_helper.rb |