Sha256: ea8308733efbd29014a9aa897201c60d6bf14ee2f266b27a1976afe2d364d823
Contents?: true
Size: 907 Bytes
Versions: 1
Compression:
Stored size: 907 Bytes
Contents
# frozen_string_literal: true # Configure Rails Environment ENV['RAILS_ENV'] = 'test' require 'byebug' # Run Coverage report require 'solidus_dev_support/rspec/coverage' dummy_env = "#{__dir__}/dummy/config/environment.rb" system 'bin/rake extension:test_app' unless File.exist? dummy_env require dummy_env # 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')].sort.each { |f| require f } # Requires factories defined in lib/solidus_jwt/testing_support/factories.rb SolidusDevSupport::TestingSupport::Factories.load_for(SolidusJwt::Engine) 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_jwt-1.2.2 | spec/spec_helper.rb |