summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Slaughter <pslaughter@gitlab.com>2019-05-30 17:39:42 -0500
committerMark Chao <mchao@gitlab.com>2019-06-04 16:57:30 +0800
commitc1bb78a0ce232685fb18e13bf757b615aee0b75b (patch)
tree797df1d47f3ad927cfb606ab1cf1c469e1e91ea0
parent554fbb2a49936a8038ee2e26231b69922009023a (diff)
downloadgitlab-ce-c1bb78a0ce232685fb18e13bf757b615aee0b75b.tar.gz
FE: Remove legacy approval feature in MR files
-rw-r--r--spec/javascripts/vue_mr_widget/mr_widget_options_spec.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/javascripts/vue_mr_widget/mr_widget_options_spec.js b/spec/javascripts/vue_mr_widget/mr_widget_options_spec.js
index 7653c10b94b..918717c4547 100644
--- a/spec/javascripts/vue_mr_widget/mr_widget_options_spec.js
+++ b/spec/javascripts/vue_mr_widget/mr_widget_options_spec.js
@@ -21,7 +21,6 @@ describe('mrWidgetOptions', () => {
const COLLABORATION_MESSAGE = 'Allows commits from members who can merge to the target branch';
beforeEach(() => {
- gon.features = { approvalRules: false };
// Prevent component mounting
delete mrWidgetOptions.el;
@@ -32,7 +31,6 @@ describe('mrWidgetOptions', () => {
});
afterEach(() => {
- gon.features = null;
vm.$destroy();
});