Remove spec feature stubbing
This commit is contained in:
parent
4c184179fb
commit
eabc7289f6
|
@ -8,8 +8,6 @@ describe "User creates a merge request", :js do
|
||||||
let(:user) { create(:user) }
|
let(:user) { create(:user) }
|
||||||
|
|
||||||
before do
|
before do
|
||||||
stub_feature_flags(approval_rules: false)
|
|
||||||
|
|
||||||
project.add_maintainer(user)
|
project.add_maintainer(user)
|
||||||
sign_in(user)
|
sign_in(user)
|
||||||
end
|
end
|
||||||
|
|
|
@ -7,7 +7,6 @@ describe 'Projects > Settings > For a forked project', :js do
|
||||||
let(:forked_project) { fork_project(original_project, user) }
|
let(:forked_project) { fork_project(original_project, user) }
|
||||||
|
|
||||||
before do
|
before do
|
||||||
stub_feature_flags(approval_rules: false)
|
|
||||||
original_project.add_maintainer(user)
|
original_project.add_maintainer(user)
|
||||||
forked_project.add_maintainer(user)
|
forked_project.add_maintainer(user)
|
||||||
sign_in(user)
|
sign_in(user)
|
||||||
|
|
|
@ -6,7 +6,6 @@ describe 'Project' do
|
||||||
|
|
||||||
before do
|
before do
|
||||||
stub_feature_flags(vue_file_list: false)
|
stub_feature_flags(vue_file_list: false)
|
||||||
stub_feature_flags(approval_rules: false)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
describe 'creating from template' do
|
describe 'creating from template' do
|
||||||
|
|
Loading…
Reference in New Issue