Merge pull request #7081 from openfoodfoundation/dependabot/bundler/database_cleaner-2.0.1

Bump database_cleaner from 1.99.0 to 2.0.1
This commit is contained in:
Matt-Yorkley
2021-06-01 21:59:27 +02:00
committed by GitHub
2 changed files with 11 additions and 1 deletions

View File

@@ -194,7 +194,12 @@ GEM
addressable
daemons (1.4.0)
dalli (2.7.11)
database_cleaner (1.99.0)
database_cleaner (2.0.1)
database_cleaner-active_record (~> 2.0.0)
database_cleaner-active_record (2.0.0)
activerecord (>= 5.a)
database_cleaner-core (~> 2.0.0)
database_cleaner-core (2.0.1)
ddtrace (0.49.0)
ffi (~> 1.0)
msgpack

View File

@@ -5,6 +5,11 @@ require 'open_food_network/i18n_config'
module OpenFoodNetwork
describe I18nConfig do
before do
# Allow non-stubbed calls to ENV to proceed
allow(ENV).to receive(:[]).and_call_original
end
context "in default test configuration" do
before do
allow(ENV).to receive(:[]).with("LOCALE").and_return("en")