diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-23 06:17:13 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-23 06:17:13 +0300 |
commit | a9fa13e4ba46e00081cec1f3af332edcd1520785 (patch) | |
tree | 1d3bca7bd91d7b121633cd3536c0d31031fdb7e6 /spec/lib/gitlab | |
parent | 6adb784bf2839a2b8a73de5602cbfe617836526c (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/lib/gitlab')
-rw-r--r-- | spec/lib/gitlab/hook_data/issue_builder_spec.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/lib/gitlab/hook_data/issue_builder_spec.rb b/spec/lib/gitlab/hook_data/issue_builder_spec.rb index 039b4c19522..b9490306410 100644 --- a/spec/lib/gitlab/hook_data/issue_builder_spec.rb +++ b/spec/lib/gitlab/hook_data/issue_builder_spec.rb @@ -63,5 +63,13 @@ RSpec.describe Gitlab::HookData::IssueBuilder do .to eq("test![Issue_Image](#{Settings.gitlab.url}/#{expected_path})") end end + + context 'for incident' do + let_it_be(:issue) { create(:incident, :with_escalation_status) } + + it 'includes additional attr' do + expect(data).to include(:escalation_status) + end + end end end |