diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2019-02-28 09:46:09 +0000 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2019-02-28 09:46:09 +0000 |
commit | 94024cd6990102ad5d5386d84afcc09fe3007957 (patch) | |
tree | 525f9482707d7b7940d8bd4b6fe82281c4437840 /spec/models/project_services/jira_service_spec.rb | |
parent | f27536950fcc53bd4e4a74e323bcc88eb2ecb3a2 (diff) | |
download | gitlab-ce-94024cd6990102ad5d5386d84afcc09fe3007957.tar.gz |
Jira: Make issue links title compact
Port of a community contribution from @glensc to upstream.
Diffstat (limited to 'spec/models/project_services/jira_service_spec.rb')
-rw-r--r-- | spec/models/project_services/jira_service_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/models/project_services/jira_service_spec.rb b/spec/models/project_services/jira_service_spec.rb index 788b3179b01..5428fcb1271 100644 --- a/spec/models/project_services/jira_service_spec.rb +++ b/spec/models/project_services/jira_service_spec.rb @@ -177,9 +177,10 @@ describe JiraService do expect(WebMock).to have_requested(:post, @remote_link_url).with( body: hash_including( GlobalID: 'GitLab', + relationship: 'mentioned on', object: { url: "#{Gitlab.config.gitlab.url}/#{project.full_path}/commit/#{commit_id}", - title: "GitLab: Solved by commit #{commit_id}.", + title: "Solved by commit #{commit_id}.", icon: { title: 'GitLab', url16x16: favicon_path }, status: { resolved: true } } |