Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorPatricio Cano <suprnova32@gmail.com>2016-11-10 20:36:52 +0300
committerPatricio Cano <suprnova32@gmail.com>2016-11-11 20:14:58 +0300
commite840749b84ceb226e46ebdfb489c735e3370cff7 (patch)
tree54026ef9b905cdbfad9d6aee9320f0f530c4dd09 /spec
parent208530494e5d2c5c62a3e1c24489aae0e4935e3a (diff)
Refactored Sidekiq Throttler and updated documentation
Diffstat (limited to 'spec')
-rw-r--r--spec/lib/gitlab/sidekiq_throttler_spec.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/spec/lib/gitlab/sidekiq_throttler_spec.rb b/spec/lib/gitlab/sidekiq_throttler_spec.rb
index ac4a64c0f43..ff32e0e699d 100644
--- a/spec/lib/gitlab/sidekiq_throttler_spec.rb
+++ b/spec/lib/gitlab/sidekiq_throttler_spec.rb
@@ -11,12 +11,6 @@ describe Gitlab::SidekiqThrottler do
)
end
- describe '#set_limit' do
- it 'returns the correct limit' do
- expect(Gitlab::SidekiqThrottler.send(:set_limit)).to eq 4
- end
- end
-
describe '#execute!' do
it 'sets limits on the selected queues' do
Gitlab::SidekiqThrottler.execute!