From e74fd2ab989bbfdf46d54056bda0f5a91473ed7e Mon Sep 17 00:00:00 2001 From: Kyle Le Date: Mon, 15 Jan 2024 09:15:18 +0700 Subject: [PATCH] Fix rubocop --- app/controllers/payment_test/payments_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/payment_test/payments_controller.rb b/app/controllers/payment_test/payments_controller.rb index 976f9ad..5c83520 100644 --- a/app/controllers/payment_test/payments_controller.rb +++ b/app/controllers/payment_test/payments_controller.rb @@ -39,7 +39,7 @@ def index def set_failed_state new_state = params.require(:state) - target_method = "set_status_#{new_state.to_s.downcase}".to_sym + target_method = "set_status_#{new_state.to_s.downcase}" begin ::Killbill::PaymentTest::PaymentTestClient.send(target_method, nil, options_for_klient)