diff options
Diffstat (limited to 'spec/models/merge_request/metrics_spec.rb')
-rw-r--r-- | spec/models/merge_request/metrics_spec.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/models/merge_request/metrics_spec.rb b/spec/models/merge_request/metrics_spec.rb index 8d1d503b323..b1c2a9b1111 100644 --- a/spec/models/merge_request/metrics_spec.rb +++ b/spec/models/merge_request/metrics_spec.rb @@ -93,4 +93,12 @@ RSpec.describe MergeRequest::Metrics do end end end + + it_behaves_like 'database events tracking batch 2' do + let(:merge_request) { create(:merge_request) } + + let(:record) { merge_request.metrics } + let(:namespace) { nil } + let(:update_params) { { pipeline_id: 1, updated_at: Date.tomorrow } } + end end |