spec/spec_helper.rb in anyway_config-0.5.1.rc1 vs spec/spec_helper.rb in anyway_config-0.5.1
- old
+ new
@@ -1,31 +1,20 @@
-# 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
+rescue LoadError
end
ENV["RAILS_ENV"] = 'test'
require File.expand_path("../dummy/config/environment", __FILE__)
-require 'anyway_config'
+require 'anyway'
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