If balance is exactly enough, still use it

Stephen Paul Weber created

Change summary

lib/bill_plan_command.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

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