lib/bill_plan_command.rb 🔗
@@ -6,7 +6,7 @@ class BillPlanCommand
def self.for(customer)
return ForUnregistered.new(customer) unless customer.registered?
- unless customer.balance > customer.monthly_price
+ unless customer.balance >= customer.monthly_price
return ForLowBalance.new(customer)
end