diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-18 14:18:50 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-18 14:18:50 +0300 |
commit | 8c7f4e9d5f36cff46365a7f8c4b9c21578c1e781 (patch) | |
tree | a77e7fe7a93de11213032ed4ab1f33a3db51b738 /spec/helpers/auto_devops_helper_spec.rb | |
parent | 00b35af3db1abfe813a778f643dad221aad51fca (diff) |
Add latest changes from gitlab-org/gitlab@13-1-stable-ee
Diffstat (limited to 'spec/helpers/auto_devops_helper_spec.rb')
-rw-r--r-- | spec/helpers/auto_devops_helper_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/helpers/auto_devops_helper_spec.rb b/spec/helpers/auto_devops_helper_spec.rb index d06548f1595..e0fecb0c159 100644 --- a/spec/helpers/auto_devops_helper_spec.rb +++ b/spec/helpers/auto_devops_helper_spec.rb @@ -13,7 +13,7 @@ describe AutoDevopsHelper do allow(helper).to receive(:can?).with(user, :admin_pipeline, project) { allowed } allow(helper).to receive(:current_user) { user } - Feature.get(:auto_devops_banner_disabled).disable + stub_feature_flags(auto_devops_banner_disabled: false) end subject { helper.show_auto_devops_callout?(project) } @@ -32,7 +32,7 @@ describe AutoDevopsHelper do context 'when the banner is disabled by feature flag' do before do - Feature.get(:auto_devops_banner_disabled).enable + stub_feature_flags(auto_devops_banner_disabled: true) end it { is_expected.to be_falsy } |