diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-05-25 00:10:58 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-05-25 00:10:58 +0300 |
commit | 1506430b8c751d6bd7bf6de49752b8ba39f11edc (patch) | |
tree | 18dc61148995870e9632e7618a8d62210d4a567c /spec/workers/concerns | |
parent | 6ef0d7a8fee1a4d3de286a4a004517ce6d1cb692 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/workers/concerns')
-rw-r--r-- | spec/workers/concerns/application_worker_spec.rb | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/spec/workers/concerns/application_worker_spec.rb b/spec/workers/concerns/application_worker_spec.rb index 45b78ff961b..29c69ff8b4b 100644 --- a/spec/workers/concerns/application_worker_spec.rb +++ b/spec/workers/concerns/application_worker_spec.rb @@ -182,24 +182,6 @@ RSpec.describe ApplicationWorker do worker.data_consistency(data_consistency) end - context 'when data_consistency_delayed_execution feature flag is disabled' do - before do - stub_feature_flags(data_consistency_delayed_execution: false) - end - - it 'data_consistency_delayed_execution_feature_flag_enabled? should return false' do - expect(worker).to receive(:data_consistency_delayed_execution_feature_flag_enabled?).and_return(false) - - worker.perform_async - end - - it 'does not call perform_in' do - expect(worker).not_to receive(:perform_in) - - worker.perform_async - end - end - it 'call perform_in' do expect(worker).to receive(:perform_in).with(described_class::DEFAULT_DELAY_INTERVAL.seconds, 123) |