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) diff --git a/lib/payment_test/engine.rb b/lib/payment_test/engine.rb index 73d90a8..6d357a6 100644 --- a/lib/payment_test/engine.rb +++ b/lib/payment_test/engine.rb @@ -6,7 +6,7 @@ # We need to explicitly require all of our dependencies listed in payment_test.gemspec # # See also https://github.com/carlhuda/bundler/issues/49 -require 'killbill-assets-ui' +require 'killbill_assets_ui' require 'killbill_client' module PaymentTest