2019-12-21 20:55:43 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'spec_helper'
|
|
|
|
|
2020-07-28 23:09:34 +05:30
|
|
|
RSpec.describe Gitlab::Analytics::CycleAnalytics::StageEvents::IssueStageEnd do
|
2021-01-29 00:20:46 +05:30
|
|
|
it_behaves_like 'value stream analytics event'
|
2021-11-18 22:05:49 +05:30
|
|
|
|
|
|
|
it_behaves_like 'LEFT JOIN-able value stream analytics event' do
|
|
|
|
let_it_be(:record_with_data) { create(:issue).tap { |i| i.metrics.update!(first_added_to_board_at: Time.current) } }
|
|
|
|
let_it_be(:record_without_data) { create(:issue) }
|
|
|
|
end
|
2019-12-21 20:55:43 +05:30
|
|
|
end
|