spec/spec_helper.rb in anyway_config-1.2.0 vs spec/spec_helper.rb in anyway_config-1.3.0
- old
+ new
@@ -8,10 +8,10 @@
rescue LoadError # rubocop:disable all
end
ENV["RAILS_ENV"] = 'test'
-require File.expand_path("../dummy/config/environment", __FILE__)
+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 }