Merge branch '52191-add-mr-reference' into 'master'

Adds MR reference in job sidebar

Closes #52191

See merge request gitlab-org/gitlab-ce!22103
This commit is contained in:
Phil Hughes 2018-10-04 09:57:08 +00:00
commit f3b3ee78df
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@
v-if="mergeRequest"
:href="mergeRequest.path"
class="js-link-commit link-commit"
>{{ mergeRequest.iid }}</a>
>!{{ mergeRequest.iid }}</a>
</p>
<p class="build-light-text append-bottom-0">

View File

@ -56,7 +56,7 @@ describe('Commit block', () => {
props.mergeRequest.path,
);
expect(vm.$el.querySelector('.js-link-commit').textContent.trim()).toEqual(
props.mergeRequest.iid,
`!${props.mergeRequest.iid}`,
);
});
});