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