Commit f174031b authored by Peter Leitzen's avatar Peter Leitzen

Merge branch 'sy-readd-issue-type-assertion' into 'master'

Re-introduce assertion that issue type is present

See merge request gitlab-org/gitlab!42025
parents 87f5f811 0fad112a
...@@ -198,6 +198,7 @@ RSpec.describe IssuablesHelper do ...@@ -198,6 +198,7 @@ RSpec.describe IssuablesHelper do
initialDescriptionHtml: '<p dir="auto">issue text</p>', initialDescriptionHtml: '<p dir="auto">issue text</p>',
initialDescriptionText: 'issue text', initialDescriptionText: 'issue text',
initialTaskStatus: '0 of 0 tasks completed', initialTaskStatus: '0 of 0 tasks completed',
issueType: 'issue',
iid: issue.iid.to_s iid: issue.iid.to_s
} }
expect(helper.issuable_initial_data(issue)).to match(hash_including(expected_data)) expect(helper.issuable_initial_data(issue)).to match(hash_including(expected_data))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment