diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2018-10-04 09:27:56 +0100 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2018-10-04 09:27:56 +0100 |
commit | 81bff65fa8342b4e5d995825b1bb3266ff71d6ce (patch) | |
tree | 9724740defaf3c23435e7859a6cd30ff6ace472e /spec | |
parent | 2243e4d4ca4bbd96a05059d463d283d468a3fc57 (diff) | |
download | gitlab-ce-81bff65fa8342b4e5d995825b1bb3266ff71d6ce.tar.gz |
Adds MR reference in job sidebar
In the refactor the `!` reference was missed
This commit adds it back and adds coverage for it.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/javascripts/jobs/components/commit_block_spec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/javascripts/jobs/components/commit_block_spec.js b/spec/javascripts/jobs/components/commit_block_spec.js index 61ee993f46a..0bcc4ff940f 100644 --- a/spec/javascripts/jobs/components/commit_block_spec.js +++ b/spec/javascripts/jobs/components/commit_block_spec.js @@ -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}`, ); }); }); |