diff options
author | John Cai <jcai@gitlab.com> | 2019-05-21 12:41:22 -0700 |
---|---|---|
committer | John Cai <jcai@gitlab.com> | 2019-05-21 12:43:51 -0700 |
commit | a8e51d1bd1a38c91cb990bc95c6b120d0eb517d5 (patch) | |
tree | 33789eec2d6de889ce8711fc2de417ef76b2a090 | |
parent | bb6d1572a361a510379eac00f56f2386d1d1850c (diff) | |
download | gitlab-ce-jc-disable-catfile-in-tests.tar.gz |
Disable catfile cache in testsjc-disable-catfile-in-tests
-rw-r--r-- | spec/spec_helper.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 69589c9aa33..a0501590fab 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -122,6 +122,7 @@ RSpec.configure do |config| config.before do |example| # Enable all features by default for testing allow(Feature).to receive(:enabled?) { true } + allow(Feature).to receive(:enabled?).with('gitaly_catfile-cache').and_return(false) enabled = example.metadata[:enable_rugged].present? |