summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2018-10-04 09:27:56 +0100
committerFilipa Lacerda <filipa@gitlab.com>2018-10-04 09:27:56 +0100
commit81bff65fa8342b4e5d995825b1bb3266ff71d6ce (patch)
tree9724740defaf3c23435e7859a6cd30ff6ace472e /spec
parent2243e4d4ca4bbd96a05059d463d283d468a3fc57 (diff)
downloadgitlab-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.js2
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}`,
);
});
});