diff options
author | Patricio Cano <suprnova32@gmail.com> | 2016-11-10 11:36:52 -0600 |
---|---|---|
committer | Patricio Cano <suprnova32@gmail.com> | 2016-11-11 11:14:58 -0600 |
commit | e840749b84ceb226e46ebdfb489c735e3370cff7 (patch) | |
tree | 54026ef9b905cdbfad9d6aee9320f0f530c4dd09 /spec | |
parent | 208530494e5d2c5c62a3e1c24489aae0e4935e3a (diff) | |
download | gitlab-ce-sidekiq-job-throttling.tar.gz |
Refactored Sidekiq Throttler and updated documentationsidekiq-job-throttling
Diffstat (limited to 'spec')
-rw-r--r-- | spec/lib/gitlab/sidekiq_throttler_spec.rb | 6 |
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! |