Commit ea1b4545 authored by Thong Kuah's avatar Thong Kuah

Merge branch 'revert-7294a17d' into 'master'

Revert: New checkout flow for personal namespace on a free plan

See merge request gitlab-org/gitlab!41934
parents 8e4df1a6 060e259d
......@@ -21,7 +21,8 @@ module BillingPlansHelper
end
def use_new_purchase_flow?(namespace)
namespace.actual_plan_name == Plan::FREE
namespace.group? &&
namespace.actual_plan_name == Plan::FREE
end
def show_contact_sales_button?(purchase_link_action)
......
---
title: New checkout flow for personal namespace on gitlab.com
merge_request: 41795
author:
type: changed
......@@ -63,7 +63,7 @@ RSpec.describe BillingPlansHelper do
subject { helper.use_new_purchase_flow?(namespace) }
it do
result = plan == Plan::FREE
result = type == 'Group' && plan == Plan::FREE
is_expected.to be(result)
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