Sha256: 846114fd9d837060c9c0673e348f4df2e55d8ad7db666a0a4c0942ceee2c502d

Contents?: true

Size: 748 Bytes

Versions: 6

Compression:

Stored size: 748 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 }

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

6 entries across 6 versions & 1 rubygems

Version Path
solidus_stripe-3.2.1 spec/spec_helper.rb
solidus_stripe-4.0.0 spec/spec_helper.rb
solidus_stripe-3.2.0 spec/spec_helper.rb
solidus_stripe-3.1.0 spec/spec_helper.rb
solidus_stripe-3.0.0 spec/spec_helper.rb
solidus_stripe-2.1.0 spec/spec_helper.rb