~singpolyma/sgx-jmp

faa3c378e6fc278f163778ede22d905b05947f42 — Stephen Paul Weber 1 year, 9 months ago 4ace341
If balance is exactly enough, still use it
1 files changed, 1 insertions(+), 1 deletions(-)

M lib/bill_plan_command.rb
M lib/bill_plan_command.rb => lib/bill_plan_command.rb +1 -1
@@ 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