blob: a62facb6974c84f96c038e96d66e625cad0d829a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe Gitlab::Analytics::CycleAnalytics::StageEvents::MergeRequestFirstDeployedToProduction do
it_behaves_like 'value stream analytics event'
it_behaves_like 'LEFT JOIN-able value stream analytics event' do
let_it_be(:record_with_data) { create(:merge_request).tap { |mr| mr.metrics.update!(first_deployed_to_production_at: Time.current) } }
let_it_be(:record_without_data) { create(:merge_request) }
end
end
|