diff options
Diffstat (limited to 'spec/initializers/validate_database_config_spec.rb')
-rw-r--r-- | spec/initializers/validate_database_config_spec.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/spec/initializers/validate_database_config_spec.rb b/spec/initializers/validate_database_config_spec.rb index 5f3f950a852..23a3d9a2950 100644 --- a/spec/initializers/validate_database_config_spec.rb +++ b/spec/initializers/validate_database_config_spec.rb @@ -14,9 +14,6 @@ RSpec.describe 'validate database config' do end before do - allow(File).to receive(:exist?).and_call_original - allow(File).to receive(:exist?).with(Rails.root.join("config/database_geo.yml")).and_return(false) - # The `AS::ConfigurationFile` calls `read` in `def initialize` # thus we cannot use `expect_next_instance_of` # rubocop:disable RSpec/AnyInstanceOf |