Commit 925d5df7 authored by Bryce Johnson's avatar Bryce Johnson

Remove spec for remove hasApprovers.

parent 48ebd782
...@@ -128,7 +128,6 @@ feature 'Merge request approvals', js: true, feature: true do ...@@ -128,7 +128,6 @@ feature 'Merge request approvals', js: true, feature: true do
find('.select2-results').click find('.select2-results').click
click_on("Save changes") click_on("Save changes")
wait_for_ajax wait_for_ajax
find('.approvals-components') find('.approvals-components')
expect(page).to have_content("Requires 1 more approval") expect(page).to have_content("Requires 1 more approval")
......
...@@ -66,19 +66,6 @@ ...@@ -66,19 +66,6 @@
done(); done();
}); });
}); });
it('should correctly set hasApprovers when there are approvers', function () {
expect(!!this.approvalsFooter.hasApprovers).toBe(false);
});
it('should correctly set hasApprovers when there are no approvers', function (done) {
this.approvalsFooter.approvedBy.push({});
Vue.nextTick(() => {
expect(!!this.approvalsFooter.hasApprovers).toBe(true);
done();
});
});
}); });
}); });
})(window.gl || (window.gl = {})); })(window.gl || (window.gl = {}));
......
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