diff options
Diffstat (limited to 'spec/workers/namespaces')
-rw-r--r-- | spec/workers/namespaces/root_statistics_worker_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/workers/namespaces/root_statistics_worker_spec.rb b/spec/workers/namespaces/root_statistics_worker_spec.rb index 0c6e3e89973..a97a850bbcf 100644 --- a/spec/workers/namespaces/root_statistics_worker_spec.rb +++ b/spec/workers/namespaces/root_statistics_worker_spec.rb @@ -51,7 +51,7 @@ RSpec.describe Namespaces::RootStatisticsWorker, '#perform' do context 'with no namespace' do before do - group.destroy + group.destroy! end it 'does not execute the refresher service' do @@ -64,7 +64,7 @@ RSpec.describe Namespaces::RootStatisticsWorker, '#perform' do context 'with a namespace with no aggregation scheduled' do before do - group.aggregation_schedule.destroy + group.aggregation_schedule.destroy! end it 'does not execute the refresher service' do |