Commit 48a4a934 authored by Fatih Acet's avatar Fatih Acet

Address MR comments.

parent 9f800079
...@@ -32,7 +32,6 @@ export default { ...@@ -32,7 +32,6 @@ export default {
<a <a
v-if="mr.newBlobPath" v-if="mr.newBlobPath"
:href="mr.newBlobPath" :href="mr.newBlobPath"
role="button"
class="btn btn-inverted btn-save"> class="btn btn-inverted btn-save">
Create file Create file
</a> </a>
......
...@@ -15,7 +15,7 @@ describe('MRWidgetNothingToMerge', () => { ...@@ -15,7 +15,7 @@ describe('MRWidgetNothingToMerge', () => {
it('should have correct elements', () => { it('should have correct elements', () => {
expect(vm.$el.classList.contains('mr-widget-body')).toBeTruthy(); expect(vm.$el.classList.contains('mr-widget-body')).toBeTruthy();
expect(vm.$el.querySelector('a').href).toContain(newBlobPath); expect(vm.$el.querySelector('a').href).toContain(newBlobPath);
expect(vm.$el.innerText).toContain("Currently there are no changes in this merge request's source branch"); expect(vm.$el.innerText).toContain('Currently there are no changes in this merge request\'s source branch');
expect(vm.$el.innerText).toContain('Please push new commits or use a different branch.'); expect(vm.$el.innerText).toContain('Please push new commits or use a different branch.');
}); });
......
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