Commit 060e259d authored by Nicolas Dular's avatar Nicolas Dular

Revert "Merge branch...

Revert "Merge branch '239338-new-checkout-experience-for-personal-namespaces-on-a-free-plan' into 'master'"

This reverts merge request !41795
parent 41d63dc3
......@@ -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