Commit 4b562e74 authored by Tom Quirk's avatar Tom Quirk

Address backend review feedback

- test for comment `id` in Jira comments
parent e5dc3a07
...@@ -40,6 +40,7 @@ RSpec.describe Integrations::Jira::IssueDetailEntity do ...@@ -40,6 +40,7 @@ RSpec.describe Integrations::Jira::IssueDetailEntity do
'comment' => { 'comment' => {
'comments' => [ 'comments' => [
{ {
'id' => '10022',
'author' => comment_author, 'author' => comment_author,
'body' => '<p>Comment</p>', 'body' => '<p>Comment</p>',
'created' => '2020-06-25T15:50:00.000+0000', 'created' => '2020-06-25T15:50:00.000+0000',
...@@ -101,6 +102,7 @@ RSpec.describe Integrations::Jira::IssueDetailEntity do ...@@ -101,6 +102,7 @@ RSpec.describe Integrations::Jira::IssueDetailEntity do
external_tracker: 'jira', external_tracker: 'jira',
comments: [ comments: [
hash_including( hash_including(
id: '10022',
author: hash_including({ author: hash_including({
name: 'comment_author', name: 'comment_author',
username: 'comment@author.com', username: 'comment@author.com',
......
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