diff options
Diffstat (limited to 'spec/workers/pages_update_configuration_worker_spec.rb')
-rw-r--r-- | spec/workers/pages_update_configuration_worker_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/workers/pages_update_configuration_worker_spec.rb b/spec/workers/pages_update_configuration_worker_spec.rb index ff3727646c7..7cceeaa52d6 100644 --- a/spec/workers/pages_update_configuration_worker_spec.rb +++ b/spec/workers/pages_update_configuration_worker_spec.rb @@ -53,7 +53,7 @@ RSpec.describe PagesUpdateConfigurationWorker do end it "doesn't schedule a worker if updates on legacy storage are disabled", :sidekiq_inline do - stub_feature_flags(pages_update_legacy_storage: false) + allow(Settings.pages.local_store).to receive(:enabled).and_return(false) expect(Projects::UpdatePagesConfigurationService).not_to receive(:new) |