diff options
Diffstat (limited to 'spec/lib/gitlab/health_checks/puma_check_spec.rb')
-rw-r--r-- | spec/lib/gitlab/health_checks/puma_check_spec.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/lib/gitlab/health_checks/puma_check_spec.rb b/spec/lib/gitlab/health_checks/puma_check_spec.rb index 93ef81978a8..dd052a4dd2c 100644 --- a/spec/lib/gitlab/health_checks/puma_check_spec.rb +++ b/spec/lib/gitlab/health_checks/puma_check_spec.rb @@ -22,7 +22,6 @@ describe Gitlab::HealthChecks::PumaCheck do context 'when Puma is not loaded' do before do - allow(Gitlab::Runtime).to receive(:puma?).and_return(false) hide_const('Puma') end @@ -34,7 +33,6 @@ describe Gitlab::HealthChecks::PumaCheck do context 'when Puma is loaded' do before do - allow(Gitlab::Runtime).to receive(:puma?).and_return(true) stub_const('Puma', Module.new) end |