forked from e621ng/e621ng
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:
parent
074a4be38f
commit
46b0f9e6d6
@ -116,10 +116,10 @@ GEM
|
||||
docile (1.1.5)
|
||||
domain_name (0.5.20170404)
|
||||
unf (>= 0.0.5, < 1.0.0)
|
||||
dotenv (2.1.2)
|
||||
dotenv-rails (2.1.2)
|
||||
dotenv (= 2.1.2)
|
||||
railties (>= 3.2, < 5.1)
|
||||
dotenv (2.2.1)
|
||||
dotenv-rails (2.2.1)
|
||||
dotenv (= 2.2.1)
|
||||
railties (>= 3.2, < 5.2)
|
||||
equalizer (0.0.11)
|
||||
erubis (2.7.0)
|
||||
execjs (2.7.0)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user