From 6bc33ebd64520dd79cb0c3a19411df249dc2410e Mon Sep 17 00:00:00 2001 From: Nick Slowinski Date: Tue, 3 Oct 2023 20:25:00 +0200 Subject: [PATCH] test --- lib/custom_wizard/subscription.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/custom_wizard/subscription.rb b/lib/custom_wizard/subscription.rb index 8fbb3503..dc9cae4b 100644 --- a/lib/custom_wizard/subscription.rb +++ b/lib/custom_wizard/subscription.rb @@ -154,14 +154,14 @@ class CustomWizard::Subscription end def type - return :business unless subscribed? + return :none unless subscribed? return :business if business? return :standard if standard? return :community if community? end def subscribed? - true + standard? || business? || community? end def standard? @@ -169,7 +169,7 @@ class CustomWizard::Subscription end def business? - product_slug === "business" + true end def community?