blob: 22a8f93b5249fe3e3fe286d6d6f92f4821a91518 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# frozen_string_literal: true
require 'spec_helper'
require_migration!
RSpec.describe AddCurrentUserTodosWidgetToEpicWorkItemType, :migration, feature_category: :team_planning do
it_behaves_like 'migration that adds a widget to a work item type' do
let(:target_type_enum_value) { described_class::EPIC_ENUM_VALUE }
let(:target_type) { :epic }
let(:widgets_for_type) do
{
'Assignees' => 0,
'Description' => 1,
'Hierarchy' => 2,
'Labels' => 3,
'Notes' => 5,
'Start and due date' => 6,
'Health status' => 7,
'Status' => 11,
'Notifications' => 14,
'Award emoji' => 16
}.freeze
end
end
end
|