diff options
Diffstat (limited to 'spec/support/shared_examples/models/concerns/update_namespace_statistics_shared_examples.rb')
-rw-r--r-- | spec/support/shared_examples/models/concerns/update_namespace_statistics_shared_examples.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/support/shared_examples/models/concerns/update_namespace_statistics_shared_examples.rb b/spec/support/shared_examples/models/concerns/update_namespace_statistics_shared_examples.rb index 255b6efa518..191b954bfb1 100644 --- a/spec/support/shared_examples/models/concerns/update_namespace_statistics_shared_examples.rb +++ b/spec/support/shared_examples/models/concerns/update_namespace_statistics_shared_examples.rb @@ -45,6 +45,8 @@ RSpec.shared_examples 'updates namespace statistics' do context 'when deleting' do it 'schedules a statistic refresh' do + statistic_source.save! + expect(Groups::UpdateStatisticsWorker) .to receive(:perform_async) |