Commit 075086e7 authored by Dylan Griffith's avatar Dylan Griffith

Merge branch 'remove-buy-storage-link-feature-flag' into 'master'

Remove buy_storage_link Feature Flag [RUN ALL RSPEC] [RUN AS-IF-FOSS]

See merge request gitlab-org/gitlab!55246
parents 0320a51e ae45f04e
......@@ -47,8 +47,7 @@ module EE
end
def purchase_storage_link_enabled?(namespace)
::Feature.enabled?(:buy_storage_link) &&
namespace.additional_repo_storage_by_namespace_enabled?
namespace.additional_repo_storage_by_namespace_enabled?
end
def purchase_storage_url
......
---
title: Add purchase more storage button to storage usage quotas page
merge_request: 55246
author:
type: added
---
name: buy_storage_link
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/35360
rollout_issue_url:
milestone: '13.2'
type: development
group: group::fulfillment
default_enabled: false
......@@ -165,16 +165,13 @@ RSpec.describe EE::NamespaceStorageLimitAlertHelper do
let_it_be(:namespace) { build(:namespace) }
where(:buy_storage_link_enabled, :additional_repo_storage_by_namespace_enabled, :result) do
false | false | false
false | true | false
true | false | false
true | true | true
where(:additional_repo_storage_by_namespace_enabled, :result) do
false | false
true | true
end
with_them do
before do
stub_feature_flags(buy_storage_link: buy_storage_link_enabled)
allow(namespace).to receive(:additional_repo_storage_by_namespace_enabled?)
.and_return(additional_repo_storage_by_namespace_enabled)
end
......
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