Update dotenv.
dotenv-2.2.1 no longer loads .env.local in the test environment. Load it manually for backwards compatibility.
This commit is contained in:
@@ -16,6 +16,8 @@ require 'webmock/minitest'
|
||||
Dir[File.expand_path(File.dirname(__FILE__) + "/factories/*.rb")].each {|file| require file}
|
||||
Dir[File.expand_path(File.dirname(__FILE__) + "/test_helpers/*.rb")].each {|file| require file}
|
||||
|
||||
Dotenv.load(Rails.root + ".env.local")
|
||||
|
||||
Shoulda::Matchers.configure do |config|
|
||||
config.integrate do |with|
|
||||
with.library :rails
|
||||
|
||||
Reference in New Issue
Block a user