Sha256: b5eb73ba8c7b4919101b0f49eb00ac9a1336819695d1443688899a9c4d26c98f

Contents?: true

Size: 739 Bytes

Versions: 7

Compression:

Stored size: 739 Bytes

Contents

# frozen_string_literal: true

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))

begin
  require "pry-byebug"
rescue LoadError # rubocop:disable all
end

ENV["RAILS_ENV"] = 'test'

require File.expand_path('dummy/config/environment', __dir__)
require 'anyway_config'

Rails.application.eager_load!

Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }

RSpec.configure do |config|
  config.mock_with :rspec

  config.example_status_persistence_file_path = "tmp/rspec_examples.txt"
  config.filter_run :focus
  config.run_all_when_everything_filtered = true

  config.order = :random
  Kernel.srand config.seed

  config.before(:each) { Anyway.env.clear }
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
anyway_config-1.4.4 spec/spec_helper.rb
anyway_config-1.4.3 spec/spec_helper.rb
anyway_config-1.4.2 spec/spec_helper.rb
anyway_config-1.4.1 spec/spec_helper.rb
anyway_config-1.4.0 spec/spec_helper.rb
anyway_config-1.3.1 spec/spec_helper.rb
anyway_config-1.3.0 spec/spec_helper.rb