Change summary
lib/registration.rb | 3 +--
test/test_admin_command.rb | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
Detailed changes
@@ -86,8 +86,7 @@ class Registration
"DataOnly#for",
cfg: cfg,
customer_balance: customer.balance,
- customer_currency: customer.currency,
- cfg_price: cfg[:price]
+ customer_currency: customer.currency
)
unless cfg && customer.balance >= cfg[:price]
return PayForSim.new(customer, sim_kind)
@@ -31,7 +31,7 @@ class AdminCommandTest < Minitest::Test
)
assert_equal(
iq.form.field("new_backend")&.type,
- "text-single"
+ "list-single"
)
assert_equal(
iq.form.field("should_delete")&.type,