diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-12-19 14:01:45 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-12-19 14:01:45 +0300 |
commit | 9297025d0b7ddf095eb618dfaaab2ff8f2018d8b (patch) | |
tree | 865198c01d1824a9b098127baa3ab980c9cd2c06 /spec/initializers/circuitbox_spec.rb | |
parent | 6372471f43ee03c05a7c1f8b0c6ac6b8a7431dbe (diff) |
Add latest changes from gitlab-org/gitlab@16-7-stable-eev16.7.0-rc42
Diffstat (limited to 'spec/initializers/circuitbox_spec.rb')
-rw-r--r-- | spec/initializers/circuitbox_spec.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/spec/initializers/circuitbox_spec.rb b/spec/initializers/circuitbox_spec.rb index 64e384e4d22..d0a6d6c9f91 100644 --- a/spec/initializers/circuitbox_spec.rb +++ b/spec/initializers/circuitbox_spec.rb @@ -3,12 +3,7 @@ require 'spec_helper' RSpec.describe 'circuitbox', feature_category: :shared do - it 'does not configure Circuitbox', unless: Gitlab.ee? do - expect(Circuitbox.default_circuit_store).to be_a(Circuitbox::MemoryStore) - expect(Circuitbox.default_notifier).to be_a(Circuitbox::Notifier::ActiveSupport) - end - - it 'configures Circuitbox', if: Gitlab.ee? do + it 'configures Circuitbox' do expect(Circuitbox.default_circuit_store).to be_a(Gitlab::CircuitBreaker::Store) expect(Circuitbox.default_notifier).to be_a(Gitlab::CircuitBreaker::Notifier) end |