提交 48a4a934 编写于 作者: F Fatih Acet

Address MR comments.

上级 9f800079
......@@ -32,7 +32,6 @@ export default {
<a
v-if="mr.newBlobPath"
:href="mr.newBlobPath"
role="button"
class="btn btn-inverted btn-save">
Create file
</a>
......
......@@ -15,7 +15,7 @@ describe('MRWidgetNothingToMerge', () => {
it('should have correct elements', () => {
expect(vm.$el.classList.contains('mr-widget-body')).toBeTruthy();
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.');
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册