Sha256: dcf0e62d6a92fb42dbfcd97029499070091ecb206c1fb666e10c1653d7f8f853

Contents?: true

Size: 743 Bytes

Versions: 8

Compression:

Stored size: 743 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", __FILE__)
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

8 entries across 8 versions & 1 rubygems

Version Path
anyway_config-1.2.0 spec/spec_helper.rb
anyway_config-1.1.3 spec/spec_helper.rb
anyway_config-1.1.2 spec/spec_helper.rb
anyway_config-1.1.1 spec/spec_helper.rb
anyway_config-1.1.0 spec/spec_helper.rb
anyway_config-1.0.0 spec/spec_helper.rb
anyway_config-1.0.0.rc1 spec/spec_helper.rb
anyway_config-0.5.1.rc1 spec/spec_helper.rb