From 388375c70fab19152b4984bce26889dbf9f84b3e Mon Sep 17 00:00:00 2001 From: Jean Boussier Date: Tue, 1 Mar 2022 10:26:11 +0100 Subject: [PATCH] Enable frozen_string_literals Integrations contain lots of literal strings, some of which are common codes that are likely to be found elsewhere. Enabling frozen string literals allow to deduplicate them. --- Gemfile | 2 ++ Gemfile.lock | 6 ++++-- Rakefile | 2 ++ bin/console | 1 + generators/integration_generator.rb | 2 ++ lib/offsite_payments.rb | 2 ++ lib/offsite_payments/action_view_helper.rb | 4 +++- lib/offsite_payments/helper.rb | 2 ++ lib/offsite_payments/integrations.rb | 2 ++ lib/offsite_payments/integrations/a1agregator.rb | 2 ++ .../integrations/authorize_net_sim.rb | 2 ++ lib/offsite_payments/integrations/bit_pay.rb | 2 ++ lib/offsite_payments/integrations/bogus.rb | 2 ++ lib/offsite_payments/integrations/checkout_finland.rb | 2 ++ lib/offsite_payments/integrations/chronopay.rb | 2 ++ lib/offsite_payments/integrations/citrus.rb | 2 ++ lib/offsite_payments/integrations/coinbase.rb | 2 ++ lib/offsite_payments/integrations/direc_pay.rb | 2 ++ lib/offsite_payments/integrations/directebanking.rb | 2 ++ lib/offsite_payments/integrations/doku.rb | 2 ++ lib/offsite_payments/integrations/dotpay.rb | 2 ++ lib/offsite_payments/integrations/dwolla.rb | 2 ++ lib/offsite_payments/integrations/e_payment_plans.rb | 2 ++ lib/offsite_payments/integrations/easy_pay.rb | 2 ++ lib/offsite_payments/integrations/epay.rb | 2 ++ lib/offsite_payments/integrations/first_data.rb | 2 ++ lib/offsite_payments/integrations/gestpay.rb | 2 ++ lib/offsite_payments/integrations/hi_trust.rb | 2 ++ lib/offsite_payments/integrations/ipay88.rb | 2 ++ lib/offsite_payments/integrations/klarna.rb | 11 +++++------ lib/offsite_payments/integrations/liqpay.rb | 2 ++ lib/offsite_payments/integrations/maksuturva.rb | 2 ++ lib/offsite_payments/integrations/mollie.rb | 2 ++ lib/offsite_payments/integrations/mollie_ideal.rb | 2 ++ .../integrations/mollie_mistercash.rb | 2 ++ lib/offsite_payments/integrations/molpay.rb | 2 ++ lib/offsite_payments/integrations/moneybookers.rb | 2 ++ lib/offsite_payments/integrations/nochex.rb | 2 ++ lib/offsite_payments/integrations/pag_seguro.rb | 8 ++++---- lib/offsite_payments/integrations/paxum.rb | 5 +++-- lib/offsite_payments/integrations/pay_fast.rb | 2 ++ lib/offsite_payments/integrations/paydollar.rb | 2 ++ lib/offsite_payments/integrations/payflow_link.rb | 2 ++ lib/offsite_payments/integrations/paypal.rb | 6 +++--- .../integrations/paypal_payments_advanced.rb | 2 ++ lib/offsite_payments/integrations/paysbuy.rb | 2 ++ lib/offsite_payments/integrations/paytm.rb | 2 ++ lib/offsite_payments/integrations/payu_in.rb | 2 ++ lib/offsite_payments/integrations/payu_in_paisa.rb | 2 ++ lib/offsite_payments/integrations/platron.rb | 4 +++- lib/offsite_payments/integrations/pxpay.rb | 2 ++ lib/offsite_payments/integrations/quickpay.rb | 2 ++ lib/offsite_payments/integrations/quickpay_v10.rb | 2 ++ lib/offsite_payments/integrations/rbkmoney.rb | 2 ++ lib/offsite_payments/integrations/realex_offsite.rb | 2 ++ lib/offsite_payments/integrations/robokassa.rb | 2 ++ lib/offsite_payments/integrations/sage_pay_form.rb | 2 ++ lib/offsite_payments/integrations/two_checkout.rb | 2 ++ lib/offsite_payments/integrations/universal.rb | 2 ++ lib/offsite_payments/integrations/valitor.rb | 2 ++ lib/offsite_payments/integrations/verkkomaksut.rb | 2 ++ lib/offsite_payments/integrations/web_pay.rb | 2 ++ lib/offsite_payments/integrations/webmoney.rb | 2 ++ .../integrations/wirecard_checkout_page.rb | 2 ++ lib/offsite_payments/integrations/world_pay.rb | 2 ++ lib/offsite_payments/notification.rb | 2 ++ lib/offsite_payments/return.rb | 2 ++ lib/offsite_payments/version.rb | 2 ++ offsite_payments.gemspec | 2 ++ script/generate | 2 ++ test/remote/remote_bit_pay_test.rb | 2 ++ test/remote/remote_checkout_finland_test.rb | 2 ++ test/remote/remote_direc_pay_test.rb | 2 ++ test/remote/remote_doku_test.rb | 2 ++ test/remote/remote_gestpay_test.rb | 2 ++ test/remote/remote_mollie_ideal_test.rb | 2 ++ test/remote/remote_mollie_mistercash_test.rb | 2 ++ test/remote/remote_molpay_test.rb | 2 ++ test/remote/remote_paypal_test.rb | 2 ++ test/remote/remote_payu_in_test.rb | 2 ++ test/remote/remote_pxpay_test.rb | 2 ++ test/remote/remote_quickpay_test.rb | 2 ++ test/remote/remote_valitor_test.rb | 2 ++ test/remote_test_helper.rb | 2 ++ test/test_helper.rb | 5 ++++- test/unit/action_view_helper_test.rb | 2 ++ test/unit/fixtures_test.rb | 2 ++ test/unit/helper_test.rb | 2 ++ .../a1agregator/a1agregator_helper_test.rb | 2 ++ .../a1agregator/a1agregator_module_test.rb | 2 ++ .../a1agregator/a1agregator_notification_test.rb | 2 ++ .../authorize_net_sim_helper_test.rb | 2 ++ .../authorize_net_sim_module_test.rb | 2 ++ .../authorize_net_sim_notification_test.rb | 2 ++ test/unit/integrations/bit_pay/bit_pay_helper_test.rb | 2 ++ test/unit/integrations/bit_pay/bit_pay_module_test.rb | 2 ++ .../integrations/bit_pay/bit_pay_notification_test.rb | 2 ++ test/unit/integrations/bogus/bogus_helper_test.rb | 2 ++ test/unit/integrations/bogus/bogus_module_test.rb | 2 ++ .../checkout_finland/checkout_finland_helper_test.rb | 2 ++ .../checkout_finland/checkout_finland_module_test.rb | 2 ++ .../checkout_finland_notification_test.rb | 2 ++ .../integrations/chronopay/chronopay_helper_test.rb | 2 ++ .../integrations/chronopay/chronopay_module_test.rb | 2 ++ .../chronopay/chronopay_notification_test.rb | 2 ++ .../integrations/chronopay/chronopay_return_test.rb | 2 ++ test/unit/integrations/citrus/citrus_helper_test.rb | 2 ++ test/unit/integrations/citrus/citrus_module_test.rb | 2 ++ .../integrations/citrus/citrus_notification_test.rb | 2 ++ test/unit/integrations/citrus/citrus_return_test.rb | 2 ++ .../integrations/coinbase/coinbase_helper_test.rb | 2 ++ .../integrations/coinbase/coinbase_module_test.rb | 2 ++ .../coinbase/coinbase_notification_test.rb | 2 ++ .../integrations/coinbase/coinbase_return_test.rb | 2 ++ .../integrations/direc_pay/direc_pay_helper_test.rb | 2 ++ .../integrations/direc_pay/direc_pay_module_test.rb | 2 ++ .../direc_pay/direc_pay_notification_test.rb | 2 ++ .../integrations/direc_pay/direc_pay_return_test.rb | 2 ++ .../directebanking/directebanking_helper_test.rb | 2 ++ .../directebanking_notification_test.rb | 2 ++ .../directebanking/directebanking_return_test.rb | 2 ++ test/unit/integrations/doku/doku_helper_test.rb | 2 ++ test/unit/integrations/doku/doku_module_test.rb | 2 ++ test/unit/integrations/doku/doku_notification_test.rb | 2 ++ test/unit/integrations/dotpay/dotpay_helper_test.rb | 2 ++ test/unit/integrations/dotpay/dotpay_module_test.rb | 2 ++ .../integrations/dotpay/dotpay_notification_test.rb | 2 ++ test/unit/integrations/dotpay/dotpay_return_test.rb | 2 ++ test/unit/integrations/dwolla/dwolla_helper_test.rb | 2 ++ test/unit/integrations/dwolla/dwolla_module_test.rb | 2 ++ .../integrations/dwolla/dwolla_notification_test.rb | 2 ++ test/unit/integrations/dwolla/dwolla_return_test.rb | 2 ++ .../e_payment_plans/e_payment_plans_helper_test.rb | 2 ++ .../e_payment_plans/e_payment_plans_module_test.rb | 2 ++ .../e_payment_plans_notification_test.rb | 2 ++ .../integrations/easy_pay/easy_pay_helper_test.rb | 2 ++ .../integrations/easy_pay/easy_pay_module_test.rb | 2 ++ .../easy_pay/easy_pay_notification_test.rb | 2 ++ test/unit/integrations/epay/epay_helper_test.rb | 2 ++ test/unit/integrations/epay/epay_module_test.rb | 2 ++ test/unit/integrations/epay/epay_notification_test.rb | 2 ++ .../integrations/first_data/first_data_helper_test.rb | 2 ++ .../integrations/first_data/first_data_module_test.rb | 2 ++ .../first_data/first_data_notification_test.rb | 2 ++ test/unit/integrations/gestpay/gestpay_helper_test.rb | 2 ++ test/unit/integrations/gestpay/gestpay_module_test.rb | 2 ++ .../integrations/gestpay/gestpay_notification_test.rb | 2 ++ test/unit/integrations/gestpay/gestpay_return_test.rb | 2 ++ .../integrations/hi_trust/hi_trust_helper_test.rb | 2 ++ .../integrations/hi_trust/hi_trust_module_test.rb | 2 ++ .../hi_trust/hi_trust_notification_test.rb | 2 ++ .../integrations/hi_trust/hi_trust_return_test.rb | 2 ++ test/unit/integrations/ipay88/ipay88_helper_test.rb | 2 ++ test/unit/integrations/ipay88/ipay88_module_test.rb | 2 ++ .../integrations/ipay88/ipay88_notification_test.rb | 2 ++ test/unit/integrations/ipay88/ipay88_return_test.rb | 2 ++ test/unit/integrations/klarna/klarna_helper_test.rb | 2 ++ test/unit/integrations/klarna/klarna_module_test.rb | 2 ++ .../integrations/klarna/klarna_notification_test.rb | 2 ++ test/unit/integrations/liqpay/liqpay_helper_test.rb | 2 ++ test/unit/integrations/liqpay/liqpay_module_test.rb | 2 ++ .../integrations/liqpay/liqpay_notification_test.rb | 2 ++ test/unit/integrations/liqpay/liqpay_return_test.rb | 2 ++ .../integrations/maksuturva/maksuturva_helper_test.rb | 2 ++ .../integrations/maksuturva/maksuturva_module_test.rb | 2 ++ .../maksuturva/maksuturva_notification_test.rb | 2 ++ test/unit/integrations/mollie/mollie_test.rb | 2 ++ .../mollie_ideal/mollie_ideal_helper_test.rb | 2 ++ .../mollie_ideal/mollie_ideal_module_test.rb | 2 ++ .../mollie_ideal/mollie_ideal_notification_test.rb | 2 ++ .../mollie_mistercash_helper_test.rb | 2 ++ .../mollie_mistercash_module_test.rb | 2 ++ .../mollie_mistercash_notification_test.rb | 2 ++ test/unit/integrations/molpay/molpay_helper_test.rb | 2 ++ test/unit/integrations/molpay/molpay_module_test.rb | 2 ++ .../integrations/molpay/molpay_notification_test.rb | 2 ++ test/unit/integrations/molpay/molpay_return_test.rb | 2 ++ .../moneybookers/moneybookers_helper_test.rb | 2 ++ .../moneybookers/moneybookers_module_test.rb | 2 ++ .../moneybookers/moneybookers_notification_test.rb | 2 ++ test/unit/integrations/nochex/nochex_helper_test.rb | 2 ++ test/unit/integrations/nochex/nochex_module_test.rb | 2 ++ .../integrations/nochex/nochex_notification_test.rb | 2 ++ test/unit/integrations/nochex/nochex_return_test.rb | 2 ++ .../integrations/pag_seguro/pag_seguro_helper_test.rb | 2 ++ .../integrations/pag_seguro/pag_seguro_module_test.rb | 2 ++ .../pag_seguro/pag_seguro_notification_test.rb | 3 ++- test/unit/integrations/paxum/paxum_helper_test.rb | 2 ++ test/unit/integrations/paxum/paxum_module_test.rb | 2 ++ .../integrations/paxum/paxum_notification_test.rb | 2 ++ .../integrations/pay_fast/pay_fast_helper_test.rb | 2 ++ .../integrations/pay_fast/pay_fast_module_test.rb | 2 ++ .../pay_fast/pay_fast_notification_test.rb | 2 ++ .../integrations/paydollar/paydollar_helper_test.rb | 2 ++ .../integrations/paydollar/paydollar_module_test.rb | 2 ++ .../paydollar/paydollar_notification_test.rb | 2 ++ .../integrations/paydollar/paydollar_return_test.rb | 2 ++ .../payflow_link/payflow_link_helper_test.rb | 3 ++- .../payflow_link/payflow_link_notification_test.rb | 2 ++ test/unit/integrations/paypal/paypal_helper_test.rb | 2 ++ test/unit/integrations/paypal/paypal_module_test.rb | 2 ++ .../integrations/paypal/paypal_notification_test.rb | 2 ++ test/unit/integrations/paypal/paypal_return_test.rb | 2 ++ .../paypal_payments_advanced_helper_test.rb | 2 ++ test/unit/integrations/paysbuy/paysbuy_helper_test.rb | 2 ++ test/unit/integrations/paysbuy/paysbuy_module_test.rb | 2 ++ .../integrations/paysbuy/paysbuy_notification_test.rb | 2 ++ test/unit/integrations/paytm/paytm_helper_test.rb | 2 ++ test/unit/integrations/paytm/paytm_module_test.rb | 2 ++ .../integrations/paytm/paytm_notification_test.rb | 2 ++ test/unit/integrations/paytm/paytm_return_test.rb | 2 ++ test/unit/integrations/payu_in/payu_in_helper_test.rb | 2 ++ test/unit/integrations/payu_in/payu_in_module_test.rb | 2 ++ .../integrations/payu_in/payu_in_notification_test.rb | 2 ++ test/unit/integrations/payu_in/payu_in_return_test.rb | 2 ++ .../payu_in_paisa/payu_in_paisa_helper_test.rb | 2 ++ .../payu_in_paisa/payu_in_paisa_module_test.rb | 2 ++ .../payu_in_paisa/payu_in_paisa_notification_test.rb | 2 ++ .../payu_in_paisa/payu_in_paisa_return_test.rb | 2 ++ test/unit/integrations/platron/platron_helper_test.rb | 2 ++ test/unit/integrations/platron/platron_module_test.rb | 2 ++ .../integrations/platron/platron_notification_test.rb | 2 ++ test/unit/integrations/pxpay/pxpay_module_test.rb | 2 ++ .../integrations/pxpay/pxpay_notification_test.rb | 2 ++ .../integrations/quickpay/quickpay_helper_test.rb | 2 ++ .../integrations/quickpay/quickpay_module_test.rb | 2 ++ .../quickpay/quickpay_notification_test.rb | 2 ++ .../quickpay_v10/quickpay_v10_helper_test.rb | 2 ++ .../quickpay_v10/quickpay_v10_module_test.rb | 2 ++ .../quickpay_v10/quickpay_v10_notification_test.rb | 2 ++ .../integrations/rbkmoney/rbkmoney_helper_test.rb | 2 ++ .../integrations/rbkmoney/rbkmoney_module_test.rb | 2 ++ .../rbkmoney/rbkmoney_notification_test.rb | 2 ++ .../realex_offsite/realex_offsite_helper_test.rb | 2 ++ .../realex_offsite/realex_offsite_module_test.rb | 2 ++ .../realex_offsite_notification_test.rb | 2 ++ .../integrations/robokassa/robokassa_helper_test.rb | 2 ++ .../integrations/robokassa/robokassa_module_test.rb | 2 ++ .../robokassa/robokassa_notification_test.rb | 2 ++ .../sage_pay_form/sage_pay_form_helper_test.rb | 2 +- .../sage_pay_form/sage_pay_form_module_test.rb | 2 ++ .../sage_pay_form/sage_pay_form_notification_test.rb | 2 ++ .../sage_pay_form/sage_pay_form_return_test.rb | 2 ++ .../two_checkout/two_checkout_helper_test.rb | 2 ++ .../two_checkout/two_checkout_module_test.rb | 2 ++ .../two_checkout/two_checkout_notification_test.rb | 2 ++ .../two_checkout/two_checkout_return_test.rb | 2 ++ .../integrations/universal/universal_helper_test.rb | 2 ++ .../integrations/universal/universal_module_test.rb | 2 ++ .../universal/universal_notification_test.rb | 2 ++ .../integrations/universal/universal_return_test.rb | 2 ++ test/unit/integrations/valitor/valitor_helper_test.rb | 2 ++ test/unit/integrations/valitor/valitor_module_test.rb | 2 ++ .../integrations/valitor/valitor_notification_test.rb | 3 ++- test/unit/integrations/valitor/valitor_return_test.rb | 3 ++- .../verkkomaksut/verkkomaksut_helper_test.rb | 2 ++ .../verkkomaksut/verkkomaksut_module_test.rb | 2 ++ .../verkkomaksut/verkkomaksut_notification_test.rb | 2 ++ test/unit/integrations/web_pay/web_pay_helper_test.rb | 2 ++ test/unit/integrations/web_pay/web_pay_module_test.rb | 2 ++ .../integrations/web_pay/web_pay_notification_test.rb | 2 ++ .../integrations/webmoney/webmoney_helper_test.rb | 2 ++ .../integrations/webmoney/webmoney_module_test.rb | 2 ++ .../webmoney/webmoney_notification_test.rb | 2 ++ .../wirecard_checkout_page_helper_test.rb | 2 ++ .../wirecard_checkout_page_module_test.rb | 2 ++ .../wirecard_checkout_page_notification_test.rb | 2 ++ .../wirecard_checkout_page_return_test.rb | 2 ++ .../integrations/world_pay/world_pay_helper_test.rb | 2 ++ .../integrations/world_pay/world_pay_module_test.rb | 2 ++ .../world_pay/world_pay_notification_test.rb | 2 ++ test/unit/integrations_test.rb | 2 ++ test/unit/notification_test.rb | 2 ++ test/unit/return_test.rb | 2 ++ 274 files changed, 559 insertions(+), 25 deletions(-) diff --git a/Gemfile b/Gemfile index 7f2187ee9..455e9868b 100644 --- a/Gemfile +++ b/Gemfile @@ -1,3 +1,5 @@ +# frozen_string_literal: true + source 'https://rubygems.org' gemspec diff --git a/Gemfile.lock b/Gemfile.lock index 77e1000c4..9c6fcd2f9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -100,7 +100,9 @@ GEM mime-types (3.1) mime-types-data (~> 3.2015) mime-types-data (3.2016.0521) - mimemagic (0.3.3) + mimemagic (0.3.10) + nokogiri (~> 1) + rake mini_mime (1.0.1) mini_portile2 (2.5.0) minitest (5.11.3) @@ -193,4 +195,4 @@ DEPENDENCIES webmock BUNDLED WITH - 2.1.4 + 2.2.22 diff --git a/Rakefile b/Rakefile index 1290499a2..3dcb9525a 100644 --- a/Rakefile +++ b/Rakefile @@ -1,3 +1,5 @@ +# frozen_string_literal: true + $:.unshift File.expand_path('../lib', __FILE__) require 'offsite_payments/version' diff --git a/bin/console b/bin/console index 3885bfa4a..2156027fc 100755 --- a/bin/console +++ b/bin/console @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: true require "bundler/setup" require "offsite_payments" diff --git a/generators/integration_generator.rb b/generators/integration_generator.rb index 3dfcb8b3d..155e34723 100644 --- a/generators/integration_generator.rb +++ b/generators/integration_generator.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "thor/group" class IntegrationGenerator < Thor::Group diff --git a/lib/offsite_payments.rb b/lib/offsite_payments.rb index 7151c9ef9..aa77e33f7 100644 --- a/lib/offsite_payments.rb +++ b/lib/offsite_payments.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + fail %q{ Money is required for offsite_payments to work, please refer to https://github.com/activemerchant/offsite_payments#money-gem-dependency } unless defined?(Money) diff --git a/lib/offsite_payments/action_view_helper.rb b/lib/offsite_payments/action_view_helper.rb index 13148c1d4..c1ff71254 100644 --- a/lib/offsite_payments/action_view_helper.rb +++ b/lib/offsite_payments/action_view_helper.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'action_pack' module OffsitePayments #:nodoc: @@ -63,7 +65,7 @@ def payment_service_for(order, account, options = {}, &proc) end result << '' - result= result.join("\n") + result = result.join("\n") concat(result.respond_to?(:html_safe) ? result.html_safe : result) nil diff --git a/lib/offsite_payments/helper.rb b/lib/offsite_payments/helper.rb index 06d937667..e90eb896f 100644 --- a/lib/offsite_payments/helper.rb +++ b/lib/offsite_payments/helper.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module MoneyCompatibility def to_cents(money) diff --git a/lib/offsite_payments/integrations.rb b/lib/offsite_payments/integrations.rb index 6b483ce52..762d267cb 100644 --- a/lib/offsite_payments/integrations.rb +++ b/lib/offsite_payments/integrations.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments module Integrations Dir[File.dirname(__FILE__) + '/integrations/*.rb'].each do |f| diff --git a/lib/offsite_payments/integrations/a1agregator.rb b/lib/offsite_payments/integrations/a1agregator.rb index db325850f..537634f77 100644 --- a/lib/offsite_payments/integrations/a1agregator.rb +++ b/lib/offsite_payments/integrations/a1agregator.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: module A1agregator diff --git a/lib/offsite_payments/integrations/authorize_net_sim.rb b/lib/offsite_payments/integrations/authorize_net_sim.rb index 55a8166e1..8e6adbdc4 100644 --- a/lib/offsite_payments/integrations/authorize_net_sim.rb +++ b/lib/offsite_payments/integrations/authorize_net_sim.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: module AuthorizeNetSim diff --git a/lib/offsite_payments/integrations/bit_pay.rb b/lib/offsite_payments/integrations/bit_pay.rb index 6aa9a60a8..2f2b86889 100644 --- a/lib/offsite_payments/integrations/bit_pay.rb +++ b/lib/offsite_payments/integrations/bit_pay.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: module BitPay diff --git a/lib/offsite_payments/integrations/bogus.rb b/lib/offsite_payments/integrations/bogus.rb index fec362c9f..2b105c200 100644 --- a/lib/offsite_payments/integrations/bogus.rb +++ b/lib/offsite_payments/integrations/bogus.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: module Bogus diff --git a/lib/offsite_payments/integrations/checkout_finland.rb b/lib/offsite_payments/integrations/checkout_finland.rb index e0777d511..1d928a2c5 100644 --- a/lib/offsite_payments/integrations/checkout_finland.rb +++ b/lib/offsite_payments/integrations/checkout_finland.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: module CheckoutFinland diff --git a/lib/offsite_payments/integrations/chronopay.rb b/lib/offsite_payments/integrations/chronopay.rb index f2e015175..29df90d41 100644 --- a/lib/offsite_payments/integrations/chronopay.rb +++ b/lib/offsite_payments/integrations/chronopay.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: module Chronopay diff --git a/lib/offsite_payments/integrations/citrus.rb b/lib/offsite_payments/integrations/citrus.rb index fd23329ed..e241a6d7f 100644 --- a/lib/offsite_payments/integrations/citrus.rb +++ b/lib/offsite_payments/integrations/citrus.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments module Integrations module Citrus diff --git a/lib/offsite_payments/integrations/coinbase.rb b/lib/offsite_payments/integrations/coinbase.rb index 5f4ef14a2..b48385c76 100755 --- a/lib/offsite_payments/integrations/coinbase.rb +++ b/lib/offsite_payments/integrations/coinbase.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: module Coinbase diff --git a/lib/offsite_payments/integrations/direc_pay.rb b/lib/offsite_payments/integrations/direc_pay.rb index c023515d2..c3b940e0a 100644 --- a/lib/offsite_payments/integrations/direc_pay.rb +++ b/lib/offsite_payments/integrations/direc_pay.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: module DirecPay diff --git a/lib/offsite_payments/integrations/directebanking.rb b/lib/offsite_payments/integrations/directebanking.rb index d71eb2948..755bfe1d5 100644 --- a/lib/offsite_payments/integrations/directebanking.rb +++ b/lib/offsite_payments/integrations/directebanking.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: module Directebanking diff --git a/lib/offsite_payments/integrations/doku.rb b/lib/offsite_payments/integrations/doku.rb index 5983952f4..c0f47b9f2 100644 --- a/lib/offsite_payments/integrations/doku.rb +++ b/lib/offsite_payments/integrations/doku.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: module Doku diff --git a/lib/offsite_payments/integrations/dotpay.rb b/lib/offsite_payments/integrations/dotpay.rb index 08f09198e..7fe335eda 100644 --- a/lib/offsite_payments/integrations/dotpay.rb +++ b/lib/offsite_payments/integrations/dotpay.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: module Dotpay diff --git a/lib/offsite_payments/integrations/dwolla.rb b/lib/offsite_payments/integrations/dwolla.rb index 6c7db6998..fe2937c8e 100644 --- a/lib/offsite_payments/integrations/dwolla.rb +++ b/lib/offsite_payments/integrations/dwolla.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: module Dwolla diff --git a/lib/offsite_payments/integrations/e_payment_plans.rb b/lib/offsite_payments/integrations/e_payment_plans.rb index c4f9cbf9d..2a042bf72 100644 --- a/lib/offsite_payments/integrations/e_payment_plans.rb +++ b/lib/offsite_payments/integrations/e_payment_plans.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: module EPaymentPlans diff --git a/lib/offsite_payments/integrations/easy_pay.rb b/lib/offsite_payments/integrations/easy_pay.rb index d1f2f1013..d3b4d89fa 100644 --- a/lib/offsite_payments/integrations/easy_pay.rb +++ b/lib/offsite_payments/integrations/easy_pay.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: # Documentation: https://ssl.easypay.by/light/ diff --git a/lib/offsite_payments/integrations/epay.rb b/lib/offsite_payments/integrations/epay.rb index 20050bbe0..c71b3df5d 100644 --- a/lib/offsite_payments/integrations/epay.rb +++ b/lib/offsite_payments/integrations/epay.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: module Epay diff --git a/lib/offsite_payments/integrations/first_data.rb b/lib/offsite_payments/integrations/first_data.rb index af76d2b79..167d1e7e0 100644 --- a/lib/offsite_payments/integrations/first_data.rb +++ b/lib/offsite_payments/integrations/first_data.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: module FirstData diff --git a/lib/offsite_payments/integrations/gestpay.rb b/lib/offsite_payments/integrations/gestpay.rb index 55197866a..0920aad9f 100644 --- a/lib/offsite_payments/integrations/gestpay.rb +++ b/lib/offsite_payments/integrations/gestpay.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + # With help from Giovanni Intini and his code for RGestPay - http://medlar.it/it/progetti/rgestpay module OffsitePayments #:nodoc: diff --git a/lib/offsite_payments/integrations/hi_trust.rb b/lib/offsite_payments/integrations/hi_trust.rb index 0192d7b7f..9a19886a4 100644 --- a/lib/offsite_payments/integrations/hi_trust.rb +++ b/lib/offsite_payments/integrations/hi_trust.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: module HiTrust diff --git a/lib/offsite_payments/integrations/ipay88.rb b/lib/offsite_payments/integrations/ipay88.rb index c559f3f72..847ba32f4 100644 --- a/lib/offsite_payments/integrations/ipay88.rb +++ b/lib/offsite_payments/integrations/ipay88.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: module Ipay88 diff --git a/lib/offsite_payments/integrations/klarna.rb b/lib/offsite_payments/integrations/klarna.rb index c811f1f97..f72a34cf6 100644 --- a/lib/offsite_payments/integrations/klarna.rb +++ b/lib/offsite_payments/integrations/klarna.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: module Klarna @@ -17,12 +19,9 @@ def self.return(query_string, options = {}) def self.cart_items_payload(fields, cart_items) check_required_fields!(fields) - payload = "" - REQUIRED_FIELDS.sort.each do |field| - payload << fields[field].to_s - end - - payload + REQUIRED_FIELDS.sort.map do |field| + fields[field].to_s + end.join end def self.sign(fields, cart_items, shared_secret) diff --git a/lib/offsite_payments/integrations/liqpay.rb b/lib/offsite_payments/integrations/liqpay.rb index b308d344d..7343c8d5e 100644 --- a/lib/offsite_payments/integrations/liqpay.rb +++ b/lib/offsite_payments/integrations/liqpay.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: # Documentation: https://www.liqpay.com/?do=pages&p=cnb10 diff --git a/lib/offsite_payments/integrations/maksuturva.rb b/lib/offsite_payments/integrations/maksuturva.rb index 0b40abff0..8fd6f9feb 100644 --- a/lib/offsite_payments/integrations/maksuturva.rb +++ b/lib/offsite_payments/integrations/maksuturva.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: # USAGE: diff --git a/lib/offsite_payments/integrations/mollie.rb b/lib/offsite_payments/integrations/mollie.rb index abe6bc211..01986200c 100644 --- a/lib/offsite_payments/integrations/mollie.rb +++ b/lib/offsite_payments/integrations/mollie.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: module Mollie diff --git a/lib/offsite_payments/integrations/mollie_ideal.rb b/lib/offsite_payments/integrations/mollie_ideal.rb index 92b38a069..64f837e1a 100644 --- a/lib/offsite_payments/integrations/mollie_ideal.rb +++ b/lib/offsite_payments/integrations/mollie_ideal.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: module MollieIdeal diff --git a/lib/offsite_payments/integrations/mollie_mistercash.rb b/lib/offsite_payments/integrations/mollie_mistercash.rb index 86d431345..a235defef 100644 --- a/lib/offsite_payments/integrations/mollie_mistercash.rb +++ b/lib/offsite_payments/integrations/mollie_mistercash.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: module MollieMistercash diff --git a/lib/offsite_payments/integrations/molpay.rb b/lib/offsite_payments/integrations/molpay.rb index 68cb85f4c..b0b36dfda 100644 --- a/lib/offsite_payments/integrations/molpay.rb +++ b/lib/offsite_payments/integrations/molpay.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: module Molpay diff --git a/lib/offsite_payments/integrations/moneybookers.rb b/lib/offsite_payments/integrations/moneybookers.rb index fed34b981..9f65c091e 100644 --- a/lib/offsite_payments/integrations/moneybookers.rb +++ b/lib/offsite_payments/integrations/moneybookers.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: module Moneybookers diff --git a/lib/offsite_payments/integrations/nochex.rb b/lib/offsite_payments/integrations/nochex.rb index d78b5635b..891293ac3 100644 --- a/lib/offsite_payments/integrations/nochex.rb +++ b/lib/offsite_payments/integrations/nochex.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: # To start with Nochex, follow the instructions for installing diff --git a/lib/offsite_payments/integrations/pag_seguro.rb b/lib/offsite_payments/integrations/pag_seguro.rb index 66b7ee5f6..2e2a3f492 100644 --- a/lib/offsite_payments/integrations/pag_seguro.rb +++ b/lib/offsite_payments/integrations/pag_seguro.rb @@ -1,4 +1,4 @@ -# encoding: utf-8 +# frozen_string_literal: true module OffsitePayments #:nodoc: module Integrations #:nodoc: @@ -117,10 +117,10 @@ def fetch_token def area_code_and_number(phone) return if phone.nil? - phone.gsub!(/[^\d]/, '') + clean_phone = phone.gsub(/[^\d]/, '') - ddd = phone.slice(0..1) - number = phone.slice(2..12) + ddd = clean_phone.slice(0..1) + number = clean_phone.slice(2..12) [ddd, number] end diff --git a/lib/offsite_payments/integrations/paxum.rb b/lib/offsite_payments/integrations/paxum.rb index b798f054f..68d47af79 100644 --- a/lib/offsite_payments/integrations/paxum.rb +++ b/lib/offsite_payments/integrations/paxum.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: # Documentation: @@ -89,8 +91,7 @@ class Notification < OffsitePayments::Notification def initialize(post, options = {}) @raw_post = post.dup - post.slice!(0) - super + super(post.slice(1..-1), options) end def self.recognizes?(params) diff --git a/lib/offsite_payments/integrations/pay_fast.rb b/lib/offsite_payments/integrations/pay_fast.rb index 24c7968ea..5ff847ff4 100644 --- a/lib/offsite_payments/integrations/pay_fast.rb +++ b/lib/offsite_payments/integrations/pay_fast.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: # Documentation: diff --git a/lib/offsite_payments/integrations/paydollar.rb b/lib/offsite_payments/integrations/paydollar.rb index f8bda6418..245c917d9 100644 --- a/lib/offsite_payments/integrations/paydollar.rb +++ b/lib/offsite_payments/integrations/paydollar.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: module Paydollar diff --git a/lib/offsite_payments/integrations/payflow_link.rb b/lib/offsite_payments/integrations/payflow_link.rb index 02b935bde..c4b45d120 100644 --- a/lib/offsite_payments/integrations/payflow_link.rb +++ b/lib/offsite_payments/integrations/payflow_link.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: module PayflowLink diff --git a/lib/offsite_payments/integrations/paypal.rb b/lib/offsite_payments/integrations/paypal.rb index 17c201300..370a3aa63 100644 --- a/lib/offsite_payments/integrations/paypal.rb +++ b/lib/offsite_payments/integrations/paypal.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: module Paypal @@ -93,10 +95,8 @@ def shipping_address(params = {}) add_field(mappings[:shipping_address][:country], country_code) if params.has_key?(:phone) - phone = params.delete(:phone).to_s - # Wipe all non digits - phone.gsub!(/\D+/, '') + phone = params.delete(:phone).to_s.gsub(/\D+/, '') if ['US', 'CA'].include?(country_code) && phone =~ /(\d{3})(\d{3})(\d{4})$/ add_field('night_phone_a', $1) diff --git a/lib/offsite_payments/integrations/paypal_payments_advanced.rb b/lib/offsite_payments/integrations/paypal_payments_advanced.rb index 9c24a1cbc..3b0ed9163 100644 --- a/lib/offsite_payments/integrations/paypal_payments_advanced.rb +++ b/lib/offsite_payments/integrations/paypal_payments_advanced.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments module Integrations module PaypalPaymentsAdvanced diff --git a/lib/offsite_payments/integrations/paysbuy.rb b/lib/offsite_payments/integrations/paysbuy.rb index bee801ffe..1d92ca110 100644 --- a/lib/offsite_payments/integrations/paysbuy.rb +++ b/lib/offsite_payments/integrations/paysbuy.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: module Paysbuy diff --git a/lib/offsite_payments/integrations/paytm.rb b/lib/offsite_payments/integrations/paytm.rb index 4061023be..305a12d37 100644 --- a/lib/offsite_payments/integrations/paytm.rb +++ b/lib/offsite_payments/integrations/paytm.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: module Paytm diff --git a/lib/offsite_payments/integrations/payu_in.rb b/lib/offsite_payments/integrations/payu_in.rb index 06f9308cf..9e01c3d5e 100755 --- a/lib/offsite_payments/integrations/payu_in.rb +++ b/lib/offsite_payments/integrations/payu_in.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: module PayuIn diff --git a/lib/offsite_payments/integrations/payu_in_paisa.rb b/lib/offsite_payments/integrations/payu_in_paisa.rb index 5c92ac0c7..89d158f3d 100644 --- a/lib/offsite_payments/integrations/payu_in_paisa.rb +++ b/lib/offsite_payments/integrations/payu_in_paisa.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments module Integrations module PayuInPaisa diff --git a/lib/offsite_payments/integrations/platron.rb b/lib/offsite_payments/integrations/platron.rb index 123584eef..5ac236615 100644 --- a/lib/offsite_payments/integrations/platron.rb +++ b/lib/offsite_payments/integrations/platron.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'builder' module OffsitePayments #:nodoc: @@ -137,7 +139,7 @@ def acknowledge(authcode = nil) def success_response(path,secret) salt = rand(36**15).to_s(36) - xml = "" + xml = +"" doc = Builder::XmlMarkup.new(:target => xml) sign = Platron.generate_signature({:pg_status => 'ok', :pg_salt => salt}, path, secret) doc.response do diff --git a/lib/offsite_payments/integrations/pxpay.rb b/lib/offsite_payments/integrations/pxpay.rb index 9f5c5bd21..2dd48cc06 100644 --- a/lib/offsite_payments/integrations/pxpay.rb +++ b/lib/offsite_payments/integrations/pxpay.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'rexml/document' module OffsitePayments #:nodoc: diff --git a/lib/offsite_payments/integrations/quickpay.rb b/lib/offsite_payments/integrations/quickpay.rb index bf91f230b..be69f782e 100644 --- a/lib/offsite_payments/integrations/quickpay.rb +++ b/lib/offsite_payments/integrations/quickpay.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: module Quickpay diff --git a/lib/offsite_payments/integrations/quickpay_v10.rb b/lib/offsite_payments/integrations/quickpay_v10.rb index b05bc6bba..45c0c2f7c 100644 --- a/lib/offsite_payments/integrations/quickpay_v10.rb +++ b/lib/offsite_payments/integrations/quickpay_v10.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'openssl' module OffsitePayments #:nodoc: diff --git a/lib/offsite_payments/integrations/rbkmoney.rb b/lib/offsite_payments/integrations/rbkmoney.rb index b119fc216..8431fb86d 100644 --- a/lib/offsite_payments/integrations/rbkmoney.rb +++ b/lib/offsite_payments/integrations/rbkmoney.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: module Rbkmoney diff --git a/lib/offsite_payments/integrations/realex_offsite.rb b/lib/offsite_payments/integrations/realex_offsite.rb index 11318ad0a..d123645bb 100644 --- a/lib/offsite_payments/integrations/realex_offsite.rb +++ b/lib/offsite_payments/integrations/realex_offsite.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: module RealexOffsite diff --git a/lib/offsite_payments/integrations/robokassa.rb b/lib/offsite_payments/integrations/robokassa.rb index 3180a1e34..f69c4c559 100644 --- a/lib/offsite_payments/integrations/robokassa.rb +++ b/lib/offsite_payments/integrations/robokassa.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: # Documentation: http://robokassa.ru/Doc/En/Interface.aspx diff --git a/lib/offsite_payments/integrations/sage_pay_form.rb b/lib/offsite_payments/integrations/sage_pay_form.rb index f3fb86f0d..3a39958d0 100644 --- a/lib/offsite_payments/integrations/sage_pay_form.rb +++ b/lib/offsite_payments/integrations/sage_pay_form.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: module SagePayForm diff --git a/lib/offsite_payments/integrations/two_checkout.rb b/lib/offsite_payments/integrations/two_checkout.rb index 9fdba9822..c99cc921e 100644 --- a/lib/offsite_payments/integrations/two_checkout.rb +++ b/lib/offsite_payments/integrations/two_checkout.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: module TwoCheckout diff --git a/lib/offsite_payments/integrations/universal.rb b/lib/offsite_payments/integrations/universal.rb index e3497f605..b16d4fa74 100644 --- a/lib/offsite_payments/integrations/universal.rb +++ b/lib/offsite_payments/integrations/universal.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: module Universal diff --git a/lib/offsite_payments/integrations/valitor.rb b/lib/offsite_payments/integrations/valitor.rb index 2e6718037..582622dd2 100644 --- a/lib/offsite_payments/integrations/valitor.rb +++ b/lib/offsite_payments/integrations/valitor.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: module Valitor diff --git a/lib/offsite_payments/integrations/verkkomaksut.rb b/lib/offsite_payments/integrations/verkkomaksut.rb index 70fb48e2d..bfaf73b6a 100644 --- a/lib/offsite_payments/integrations/verkkomaksut.rb +++ b/lib/offsite_payments/integrations/verkkomaksut.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: # Usage, see the blog post here: http://blog.kiskolabs.com/post/22374612968/understanding-active-merchant-integrations and E1 API documentation here: http://docs.verkkomaksut.fi/ diff --git a/lib/offsite_payments/integrations/web_pay.rb b/lib/offsite_payments/integrations/web_pay.rb index 965ad655a..2cf53da5e 100644 --- a/lib/offsite_payments/integrations/web_pay.rb +++ b/lib/offsite_payments/integrations/web_pay.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: # Documentation: You will get it after registration steps here: diff --git a/lib/offsite_payments/integrations/webmoney.rb b/lib/offsite_payments/integrations/webmoney.rb index 6d365d98e..139a52433 100644 --- a/lib/offsite_payments/integrations/webmoney.rb +++ b/lib/offsite_payments/integrations/webmoney.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: # Documentation: diff --git a/lib/offsite_payments/integrations/wirecard_checkout_page.rb b/lib/offsite_payments/integrations/wirecard_checkout_page.rb index 40f4d4f2b..3ff4d91b2 100644 --- a/lib/offsite_payments/integrations/wirecard_checkout_page.rb +++ b/lib/offsite_payments/integrations/wirecard_checkout_page.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: module Integrations #:nodoc: # Shop System Plugins - Terms of use diff --git a/lib/offsite_payments/integrations/world_pay.rb b/lib/offsite_payments/integrations/world_pay.rb index 65b8403f8..6fa6da887 100644 --- a/lib/offsite_payments/integrations/world_pay.rb +++ b/lib/offsite_payments/integrations/world_pay.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'ipaddr' module OffsitePayments #:nodoc: module Integrations #:nodoc: diff --git a/lib/offsite_payments/notification.rb b/lib/offsite_payments/notification.rb index fb7aa03ec..7c254a42e 100644 --- a/lib/offsite_payments/notification.rb +++ b/lib/offsite_payments/notification.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: class Notification attr_accessor :params diff --git a/lib/offsite_payments/return.rb b/lib/offsite_payments/return.rb index 11a2cc6c0..adc80e859 100644 --- a/lib/offsite_payments/return.rb +++ b/lib/offsite_payments/return.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments #:nodoc: class Return attr_accessor :params diff --git a/lib/offsite_payments/version.rb b/lib/offsite_payments/version.rb index 06325885d..be85ea8c1 100644 --- a/lib/offsite_payments/version.rb +++ b/lib/offsite_payments/version.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module OffsitePayments VERSION = "2.7.28" end diff --git a/offsite_payments.gemspec b/offsite_payments.gemspec index 6db72a961..3e538d7d9 100644 --- a/offsite_payments.gemspec +++ b/offsite_payments.gemspec @@ -1,3 +1,5 @@ +# frozen_string_literal: true + $:.push File.expand_path("../lib", __FILE__) require 'offsite_payments/version' diff --git a/script/generate b/script/generate index c5fe8ab64..06b221c2b 100755 --- a/script/generate +++ b/script/generate @@ -1,4 +1,6 @@ #!/usr/bin/env ruby +# frozen_string_literal: true + require "rubygems" require "thor" diff --git a/test/remote/remote_bit_pay_test.rb b/test/remote/remote_bit_pay_test.rb index 435488e9f..b5586eb91 100644 --- a/test/remote/remote_bit_pay_test.rb +++ b/test/remote/remote_bit_pay_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' require 'remote_test_helper' diff --git a/test/remote/remote_checkout_finland_test.rb b/test/remote/remote_checkout_finland_test.rb index c408a9246..b829e510d 100644 --- a/test/remote/remote_checkout_finland_test.rb +++ b/test/remote/remote_checkout_finland_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' require 'remote_test_helper' diff --git a/test/remote/remote_direc_pay_test.rb b/test/remote/remote_direc_pay_test.rb index ffd6ee6c1..203c66466 100644 --- a/test/remote/remote_direc_pay_test.rb +++ b/test/remote/remote_direc_pay_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class RemoteDirecPayTest < Test::Unit::TestCase diff --git a/test/remote/remote_doku_test.rb b/test/remote/remote_doku_test.rb index dbebd4485..21b318d84 100644 --- a/test/remote/remote_doku_test.rb +++ b/test/remote/remote_doku_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class RemoteDokuTest < Test::Unit::TestCase diff --git a/test/remote/remote_gestpay_test.rb b/test/remote/remote_gestpay_test.rb index c8a910225..5bb6ee761 100644 --- a/test/remote/remote_gestpay_test.rb +++ b/test/remote/remote_gestpay_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class RemoteGestpayTest < Test::Unit::TestCase diff --git a/test/remote/remote_mollie_ideal_test.rb b/test/remote/remote_mollie_ideal_test.rb index 089dc0313..e7e46fa1f 100644 --- a/test/remote/remote_mollie_ideal_test.rb +++ b/test/remote/remote_mollie_ideal_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class RemoteMollieIdealTest < Test::Unit::TestCase diff --git a/test/remote/remote_mollie_mistercash_test.rb b/test/remote/remote_mollie_mistercash_test.rb index a5e66c353..56af63f42 100644 --- a/test/remote/remote_mollie_mistercash_test.rb +++ b/test/remote/remote_mollie_mistercash_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class RemoteMollieMistercashTest < Test::Unit::TestCase diff --git a/test/remote/remote_molpay_test.rb b/test/remote/remote_molpay_test.rb index fb4af1278..b960d28d5 100644 --- a/test/remote/remote_molpay_test.rb +++ b/test/remote/remote_molpay_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' require 'remote_test_helper' diff --git a/test/remote/remote_paypal_test.rb b/test/remote/remote_paypal_test.rb index b507d72bb..5082bd7b1 100644 --- a/test/remote/remote_paypal_test.rb +++ b/test/remote/remote_paypal_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class RemotePaypalTest < Test::Unit::TestCase diff --git a/test/remote/remote_payu_in_test.rb b/test/remote/remote_payu_in_test.rb index ca5ff63f9..303956b3e 100644 --- a/test/remote/remote_payu_in_test.rb +++ b/test/remote/remote_payu_in_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class RemotePayuInTest < Test::Unit::TestCase diff --git a/test/remote/remote_pxpay_test.rb b/test/remote/remote_pxpay_test.rb index 67106192a..2b4aec443 100644 --- a/test/remote/remote_pxpay_test.rb +++ b/test/remote/remote_pxpay_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' require 'remote_test_helper' diff --git a/test/remote/remote_quickpay_test.rb b/test/remote/remote_quickpay_test.rb index 9c59dd671..a03caf81c 100644 --- a/test/remote/remote_quickpay_test.rb +++ b/test/remote/remote_quickpay_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class RemoteQuickPayTest < Test::Unit::TestCase diff --git a/test/remote/remote_valitor_test.rb b/test/remote/remote_valitor_test.rb index 382df9bd6..c90751e03 100644 --- a/test/remote/remote_valitor_test.rb +++ b/test/remote/remote_valitor_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' require 'remote_test_helper' require 'nokogiri' diff --git a/test/remote_test_helper.rb b/test/remote_test_helper.rb index cd8c4bdd0..2cd05711b 100644 --- a/test/remote_test_helper.rb +++ b/test/remote_test_helper.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'mechanize' require 'action_view/base' require 'launchy' diff --git a/test/test_helper.rb b/test/test_helper.rb index c025e8b7d..cacb4e1e0 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'bundler/setup' require 'test/unit' @@ -9,6 +11,7 @@ require 'json' require 'nokogiri' +require 'active_support' require 'active_support/core_ext/integer/time' require 'active_support/core_ext/numeric/time' require 'active_support/core_ext/time/acts_like' @@ -201,7 +204,7 @@ def url_for(options, *parameters_for_method_reference) end end @controller = @controller.new - @output_buffer = '' + @output_buffer = +'' end protected diff --git a/test/unit/action_view_helper_test.rb b/test/unit/action_view_helper_test.rb index 6b8418386..7dbcb8c40 100644 --- a/test/unit/action_view_helper_test.rb +++ b/test/unit/action_view_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class ActionViewHelperTest < Test::Unit::TestCase diff --git a/test/unit/fixtures_test.rb b/test/unit/fixtures_test.rb index 1ebb859ae..cac123d4e 100644 --- a/test/unit/fixtures_test.rb +++ b/test/unit/fixtures_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class FixturesTest < Test::Unit::TestCase diff --git a/test/unit/helper_test.rb b/test/unit/helper_test.rb index c70cca01c..3e297c1b8 100644 --- a/test/unit/helper_test.rb +++ b/test/unit/helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class HelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/a1agregator/a1agregator_helper_test.rb b/test/unit/integrations/a1agregator/a1agregator_helper_test.rb index e067367c9..f472a5f77 100644 --- a/test/unit/integrations/a1agregator/a1agregator_helper_test.rb +++ b/test/unit/integrations/a1agregator/a1agregator_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class A1agregatorHelperTest < Test::Unit::TestCase include OffsitePayments::Integrations diff --git a/test/unit/integrations/a1agregator/a1agregator_module_test.rb b/test/unit/integrations/a1agregator/a1agregator_module_test.rb index 723668a8a..0965d713f 100644 --- a/test/unit/integrations/a1agregator/a1agregator_module_test.rb +++ b/test/unit/integrations/a1agregator/a1agregator_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class A1agregatorModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/a1agregator/a1agregator_notification_test.rb b/test/unit/integrations/a1agregator/a1agregator_notification_test.rb index 19f478782..a415e4999 100644 --- a/test/unit/integrations/a1agregator/a1agregator_notification_test.rb +++ b/test/unit/integrations/a1agregator/a1agregator_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class A1agregatorNotificationTest < Test::Unit::TestCase include OffsitePayments::Integrations diff --git a/test/unit/integrations/authorize_net_sim/authorize_net_sim_helper_test.rb b/test/unit/integrations/authorize_net_sim/authorize_net_sim_helper_test.rb index 2cb5b81d8..4e164e34d 100644 --- a/test/unit/integrations/authorize_net_sim/authorize_net_sim_helper_test.rb +++ b/test/unit/integrations/authorize_net_sim/authorize_net_sim_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class AuthorizeNetSimHelperTest < Test::Unit::TestCase include OffsitePayments::Integrations diff --git a/test/unit/integrations/authorize_net_sim/authorize_net_sim_module_test.rb b/test/unit/integrations/authorize_net_sim/authorize_net_sim_module_test.rb index 44375d06c..42af60773 100644 --- a/test/unit/integrations/authorize_net_sim/authorize_net_sim_module_test.rb +++ b/test/unit/integrations/authorize_net_sim/authorize_net_sim_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class AuthorizeNetSimModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/authorize_net_sim/authorize_net_sim_notification_test.rb b/test/unit/integrations/authorize_net_sim/authorize_net_sim_notification_test.rb index 05141366c..4f01b6fea 100644 --- a/test/unit/integrations/authorize_net_sim/authorize_net_sim_notification_test.rb +++ b/test/unit/integrations/authorize_net_sim/authorize_net_sim_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class AuthorizeNetSimNotificationTest < Test::Unit::TestCase include OffsitePayments::Integrations diff --git a/test/unit/integrations/bit_pay/bit_pay_helper_test.rb b/test/unit/integrations/bit_pay/bit_pay_helper_test.rb index 7b464cdad..e493a220a 100644 --- a/test/unit/integrations/bit_pay/bit_pay_helper_test.rb +++ b/test/unit/integrations/bit_pay/bit_pay_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class BitPayHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/bit_pay/bit_pay_module_test.rb b/test/unit/integrations/bit_pay/bit_pay_module_test.rb index 3e8d7e440..2230292d5 100644 --- a/test/unit/integrations/bit_pay/bit_pay_module_test.rb +++ b/test/unit/integrations/bit_pay/bit_pay_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class BitPayModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/bit_pay/bit_pay_notification_test.rb b/test/unit/integrations/bit_pay/bit_pay_notification_test.rb index 9ad29a841..d1bae2064 100644 --- a/test/unit/integrations/bit_pay/bit_pay_notification_test.rb +++ b/test/unit/integrations/bit_pay/bit_pay_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class BitPayNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/bogus/bogus_helper_test.rb b/test/unit/integrations/bogus/bogus_helper_test.rb index 8756fb901..824e7f2ad 100644 --- a/test/unit/integrations/bogus/bogus_helper_test.rb +++ b/test/unit/integrations/bogus/bogus_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class BogusHelperTest < Test::Unit::TestCase include OffsitePayments::Integrations diff --git a/test/unit/integrations/bogus/bogus_module_test.rb b/test/unit/integrations/bogus/bogus_module_test.rb index 0593ad87e..4cc6492db 100644 --- a/test/unit/integrations/bogus/bogus_module_test.rb +++ b/test/unit/integrations/bogus/bogus_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class BogusModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/checkout_finland/checkout_finland_helper_test.rb b/test/unit/integrations/checkout_finland/checkout_finland_helper_test.rb index ae989c3a3..ed2a81f26 100644 --- a/test/unit/integrations/checkout_finland/checkout_finland_helper_test.rb +++ b/test/unit/integrations/checkout_finland/checkout_finland_helper_test.rb @@ -1,4 +1,6 @@ # encoding: UTF-8 +# frozen_string_literal: true + require 'test_helper' class CheckoutFinlandHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/checkout_finland/checkout_finland_module_test.rb b/test/unit/integrations/checkout_finland/checkout_finland_module_test.rb index 062c5d127..403ed75a3 100644 --- a/test/unit/integrations/checkout_finland/checkout_finland_module_test.rb +++ b/test/unit/integrations/checkout_finland/checkout_finland_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class CheckoutFinlandModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/checkout_finland/checkout_finland_notification_test.rb b/test/unit/integrations/checkout_finland/checkout_finland_notification_test.rb index 9662cad0b..9c7ec4d99 100644 --- a/test/unit/integrations/checkout_finland/checkout_finland_notification_test.rb +++ b/test/unit/integrations/checkout_finland/checkout_finland_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class CheckoutFinlandNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/chronopay/chronopay_helper_test.rb b/test/unit/integrations/chronopay/chronopay_helper_test.rb index 83420d1f8..b33ed5516 100644 --- a/test/unit/integrations/chronopay/chronopay_helper_test.rb +++ b/test/unit/integrations/chronopay/chronopay_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class ChronopayHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/chronopay/chronopay_module_test.rb b/test/unit/integrations/chronopay/chronopay_module_test.rb index ce618b8f3..8a53e3763 100644 --- a/test/unit/integrations/chronopay/chronopay_module_test.rb +++ b/test/unit/integrations/chronopay/chronopay_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class ChronopayModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/chronopay/chronopay_notification_test.rb b/test/unit/integrations/chronopay/chronopay_notification_test.rb index 11bf80c77..337542811 100644 --- a/test/unit/integrations/chronopay/chronopay_notification_test.rb +++ b/test/unit/integrations/chronopay/chronopay_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class ChronopayNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/chronopay/chronopay_return_test.rb b/test/unit/integrations/chronopay/chronopay_return_test.rb index f586d18b5..a8d892483 100644 --- a/test/unit/integrations/chronopay/chronopay_return_test.rb +++ b/test/unit/integrations/chronopay/chronopay_return_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class ChronopayReturnTest < Test::Unit::TestCase diff --git a/test/unit/integrations/citrus/citrus_helper_test.rb b/test/unit/integrations/citrus/citrus_helper_test.rb index d5d851403..6bdb084c9 100644 --- a/test/unit/integrations/citrus/citrus_helper_test.rb +++ b/test/unit/integrations/citrus/citrus_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class CitrusHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/citrus/citrus_module_test.rb b/test/unit/integrations/citrus/citrus_module_test.rb index 706753205..6c727ddc6 100644 --- a/test/unit/integrations/citrus/citrus_module_test.rb +++ b/test/unit/integrations/citrus/citrus_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class CitrusModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/citrus/citrus_notification_test.rb b/test/unit/integrations/citrus/citrus_notification_test.rb index 456742019..e2c59bcb8 100644 --- a/test/unit/integrations/citrus/citrus_notification_test.rb +++ b/test/unit/integrations/citrus/citrus_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class CitrusNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/citrus/citrus_return_test.rb b/test/unit/integrations/citrus/citrus_return_test.rb index e0afdf04b..92b4662fe 100644 --- a/test/unit/integrations/citrus/citrus_return_test.rb +++ b/test/unit/integrations/citrus/citrus_return_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class CitrusReturnTest < Test::Unit::TestCase diff --git a/test/unit/integrations/coinbase/coinbase_helper_test.rb b/test/unit/integrations/coinbase/coinbase_helper_test.rb index d025c46d6..e1d9ffe6c 100755 --- a/test/unit/integrations/coinbase/coinbase_helper_test.rb +++ b/test/unit/integrations/coinbase/coinbase_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class CoinbaseHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/coinbase/coinbase_module_test.rb b/test/unit/integrations/coinbase/coinbase_module_test.rb index bd84ac296..0826acf51 100755 --- a/test/unit/integrations/coinbase/coinbase_module_test.rb +++ b/test/unit/integrations/coinbase/coinbase_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class CoinbaseModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/coinbase/coinbase_notification_test.rb b/test/unit/integrations/coinbase/coinbase_notification_test.rb index 3f3011920..ab9b0cb7b 100755 --- a/test/unit/integrations/coinbase/coinbase_notification_test.rb +++ b/test/unit/integrations/coinbase/coinbase_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class CoinbaseNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/coinbase/coinbase_return_test.rb b/test/unit/integrations/coinbase/coinbase_return_test.rb index e3c5308b9..11e21e309 100644 --- a/test/unit/integrations/coinbase/coinbase_return_test.rb +++ b/test/unit/integrations/coinbase/coinbase_return_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class CoinbaseReturnTest < Test::Unit::TestCase diff --git a/test/unit/integrations/direc_pay/direc_pay_helper_test.rb b/test/unit/integrations/direc_pay/direc_pay_helper_test.rb index c92ce0432..85788341f 100644 --- a/test/unit/integrations/direc_pay/direc_pay_helper_test.rb +++ b/test/unit/integrations/direc_pay/direc_pay_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class DirecPayHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/direc_pay/direc_pay_module_test.rb b/test/unit/integrations/direc_pay/direc_pay_module_test.rb index 264147620..a8bc0b7d4 100644 --- a/test/unit/integrations/direc_pay/direc_pay_module_test.rb +++ b/test/unit/integrations/direc_pay/direc_pay_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class DirecPayModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/direc_pay/direc_pay_notification_test.rb b/test/unit/integrations/direc_pay/direc_pay_notification_test.rb index 7a7a91176..82cb8dfde 100644 --- a/test/unit/integrations/direc_pay/direc_pay_notification_test.rb +++ b/test/unit/integrations/direc_pay/direc_pay_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class DirecPayNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/direc_pay/direc_pay_return_test.rb b/test/unit/integrations/direc_pay/direc_pay_return_test.rb index 5e6721233..bfe8dde8f 100644 --- a/test/unit/integrations/direc_pay/direc_pay_return_test.rb +++ b/test/unit/integrations/direc_pay/direc_pay_return_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class DirecPayReturnTest < Test::Unit::TestCase diff --git a/test/unit/integrations/directebanking/directebanking_helper_test.rb b/test/unit/integrations/directebanking/directebanking_helper_test.rb index 022d48f4f..61b7d601a 100644 --- a/test/unit/integrations/directebanking/directebanking_helper_test.rb +++ b/test/unit/integrations/directebanking/directebanking_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class DirectebankingHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/directebanking/directebanking_notification_test.rb b/test/unit/integrations/directebanking/directebanking_notification_test.rb index 3c96fe808..966514129 100644 --- a/test/unit/integrations/directebanking/directebanking_notification_test.rb +++ b/test/unit/integrations/directebanking/directebanking_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class DirectebankingNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/directebanking/directebanking_return_test.rb b/test/unit/integrations/directebanking/directebanking_return_test.rb index 41e6488ee..841bb7dcb 100644 --- a/test/unit/integrations/directebanking/directebanking_return_test.rb +++ b/test/unit/integrations/directebanking/directebanking_return_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class DirectebankingReturnTest < Test::Unit::TestCase diff --git a/test/unit/integrations/doku/doku_helper_test.rb b/test/unit/integrations/doku/doku_helper_test.rb index e646839ff..53148c3a1 100644 --- a/test/unit/integrations/doku/doku_helper_test.rb +++ b/test/unit/integrations/doku/doku_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class DokuHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/doku/doku_module_test.rb b/test/unit/integrations/doku/doku_module_test.rb index f9d15b574..83affe3fb 100644 --- a/test/unit/integrations/doku/doku_module_test.rb +++ b/test/unit/integrations/doku/doku_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class DokuModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/doku/doku_notification_test.rb b/test/unit/integrations/doku/doku_notification_test.rb index b28cc53f7..308cab2c3 100644 --- a/test/unit/integrations/doku/doku_notification_test.rb +++ b/test/unit/integrations/doku/doku_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class DokuNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/dotpay/dotpay_helper_test.rb b/test/unit/integrations/dotpay/dotpay_helper_test.rb index 824757bfd..a6e45ddf8 100644 --- a/test/unit/integrations/dotpay/dotpay_helper_test.rb +++ b/test/unit/integrations/dotpay/dotpay_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class DotpayHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/dotpay/dotpay_module_test.rb b/test/unit/integrations/dotpay/dotpay_module_test.rb index f5985945b..9080f2272 100644 --- a/test/unit/integrations/dotpay/dotpay_module_test.rb +++ b/test/unit/integrations/dotpay/dotpay_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class DotpayModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/dotpay/dotpay_notification_test.rb b/test/unit/integrations/dotpay/dotpay_notification_test.rb index 92724a737..cbe57149c 100644 --- a/test/unit/integrations/dotpay/dotpay_notification_test.rb +++ b/test/unit/integrations/dotpay/dotpay_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class DotpayNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/dotpay/dotpay_return_test.rb b/test/unit/integrations/dotpay/dotpay_return_test.rb index c237da842..005ca4097 100644 --- a/test/unit/integrations/dotpay/dotpay_return_test.rb +++ b/test/unit/integrations/dotpay/dotpay_return_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class DotpayReturnTest < Test::Unit::TestCase diff --git a/test/unit/integrations/dwolla/dwolla_helper_test.rb b/test/unit/integrations/dwolla/dwolla_helper_test.rb index 65c590fcb..fb9e27f92 100644 --- a/test/unit/integrations/dwolla/dwolla_helper_test.rb +++ b/test/unit/integrations/dwolla/dwolla_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' require 'digest/sha1' diff --git a/test/unit/integrations/dwolla/dwolla_module_test.rb b/test/unit/integrations/dwolla/dwolla_module_test.rb index e9491c4aa..a70b86a32 100644 --- a/test/unit/integrations/dwolla/dwolla_module_test.rb +++ b/test/unit/integrations/dwolla/dwolla_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class DwollaModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/dwolla/dwolla_notification_test.rb b/test/unit/integrations/dwolla/dwolla_notification_test.rb index a05e47e2e..be66715b6 100644 --- a/test/unit/integrations/dwolla/dwolla_notification_test.rb +++ b/test/unit/integrations/dwolla/dwolla_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class DwollaNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/dwolla/dwolla_return_test.rb b/test/unit/integrations/dwolla/dwolla_return_test.rb index 6d0459fda..1ef5fc682 100644 --- a/test/unit/integrations/dwolla/dwolla_return_test.rb +++ b/test/unit/integrations/dwolla/dwolla_return_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class DwollaReturnTest < Test::Unit::TestCase diff --git a/test/unit/integrations/e_payment_plans/e_payment_plans_helper_test.rb b/test/unit/integrations/e_payment_plans/e_payment_plans_helper_test.rb index e1eb8e829..e31457ed1 100644 --- a/test/unit/integrations/e_payment_plans/e_payment_plans_helper_test.rb +++ b/test/unit/integrations/e_payment_plans/e_payment_plans_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class EPaymentPlansHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/e_payment_plans/e_payment_plans_module_test.rb b/test/unit/integrations/e_payment_plans/e_payment_plans_module_test.rb index 04c40f85f..a0cf64f91 100644 --- a/test/unit/integrations/e_payment_plans/e_payment_plans_module_test.rb +++ b/test/unit/integrations/e_payment_plans/e_payment_plans_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class EPaymentPlansModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/e_payment_plans/e_payment_plans_notification_test.rb b/test/unit/integrations/e_payment_plans/e_payment_plans_notification_test.rb index 780557666..3583bba1d 100644 --- a/test/unit/integrations/e_payment_plans/e_payment_plans_notification_test.rb +++ b/test/unit/integrations/e_payment_plans/e_payment_plans_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class EPaymentPlansNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/easy_pay/easy_pay_helper_test.rb b/test/unit/integrations/easy_pay/easy_pay_helper_test.rb index 134a07c42..096a94447 100644 --- a/test/unit/integrations/easy_pay/easy_pay_helper_test.rb +++ b/test/unit/integrations/easy_pay/easy_pay_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class EasyPayHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/easy_pay/easy_pay_module_test.rb b/test/unit/integrations/easy_pay/easy_pay_module_test.rb index 8ba2a2ebe..7e87fc4c0 100644 --- a/test/unit/integrations/easy_pay/easy_pay_module_test.rb +++ b/test/unit/integrations/easy_pay/easy_pay_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class EasyPayModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/easy_pay/easy_pay_notification_test.rb b/test/unit/integrations/easy_pay/easy_pay_notification_test.rb index bf0ebcd81..b5918af48 100644 --- a/test/unit/integrations/easy_pay/easy_pay_notification_test.rb +++ b/test/unit/integrations/easy_pay/easy_pay_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class EasyPayNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/epay/epay_helper_test.rb b/test/unit/integrations/epay/epay_helper_test.rb index afc60eaf2..c70c40142 100644 --- a/test/unit/integrations/epay/epay_helper_test.rb +++ b/test/unit/integrations/epay/epay_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class EpayHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/epay/epay_module_test.rb b/test/unit/integrations/epay/epay_module_test.rb index 10b347337..346708ff6 100644 --- a/test/unit/integrations/epay/epay_module_test.rb +++ b/test/unit/integrations/epay/epay_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class EpayModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/epay/epay_notification_test.rb b/test/unit/integrations/epay/epay_notification_test.rb index 29922a282..4a4798340 100644 --- a/test/unit/integrations/epay/epay_notification_test.rb +++ b/test/unit/integrations/epay/epay_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class EpayNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/first_data/first_data_helper_test.rb b/test/unit/integrations/first_data/first_data_helper_test.rb index 5f60827a8..25536fec6 100644 --- a/test/unit/integrations/first_data/first_data_helper_test.rb +++ b/test/unit/integrations/first_data/first_data_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class FirstDataHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/first_data/first_data_module_test.rb b/test/unit/integrations/first_data/first_data_module_test.rb index 54abbb3b4..72c5e51f9 100644 --- a/test/unit/integrations/first_data/first_data_module_test.rb +++ b/test/unit/integrations/first_data/first_data_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class FirstDataModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/first_data/first_data_notification_test.rb b/test/unit/integrations/first_data/first_data_notification_test.rb index 4e61c6adc..cdad0040f 100644 --- a/test/unit/integrations/first_data/first_data_notification_test.rb +++ b/test/unit/integrations/first_data/first_data_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class FirstDataNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/gestpay/gestpay_helper_test.rb b/test/unit/integrations/gestpay/gestpay_helper_test.rb index 8f79678bd..81862fcf7 100644 --- a/test/unit/integrations/gestpay/gestpay_helper_test.rb +++ b/test/unit/integrations/gestpay/gestpay_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class GestpayHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/gestpay/gestpay_module_test.rb b/test/unit/integrations/gestpay/gestpay_module_test.rb index a9423b82a..0c8d146b4 100644 --- a/test/unit/integrations/gestpay/gestpay_module_test.rb +++ b/test/unit/integrations/gestpay/gestpay_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class GestpayModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/gestpay/gestpay_notification_test.rb b/test/unit/integrations/gestpay/gestpay_notification_test.rb index 2efb99f56..db79661e9 100644 --- a/test/unit/integrations/gestpay/gestpay_notification_test.rb +++ b/test/unit/integrations/gestpay/gestpay_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class GestpayNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/gestpay/gestpay_return_test.rb b/test/unit/integrations/gestpay/gestpay_return_test.rb index df07845ee..bd34bfd13 100644 --- a/test/unit/integrations/gestpay/gestpay_return_test.rb +++ b/test/unit/integrations/gestpay/gestpay_return_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class GestpayReturnTest < Test::Unit::TestCase diff --git a/test/unit/integrations/hi_trust/hi_trust_helper_test.rb b/test/unit/integrations/hi_trust/hi_trust_helper_test.rb index 10bafc003..8065dc01d 100644 --- a/test/unit/integrations/hi_trust/hi_trust_helper_test.rb +++ b/test/unit/integrations/hi_trust/hi_trust_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class HiTrustHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/hi_trust/hi_trust_module_test.rb b/test/unit/integrations/hi_trust/hi_trust_module_test.rb index de7b02f03..8b26aeb1e 100644 --- a/test/unit/integrations/hi_trust/hi_trust_module_test.rb +++ b/test/unit/integrations/hi_trust/hi_trust_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class HiTrustModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/hi_trust/hi_trust_notification_test.rb b/test/unit/integrations/hi_trust/hi_trust_notification_test.rb index ab158a67b..0b7be6002 100644 --- a/test/unit/integrations/hi_trust/hi_trust_notification_test.rb +++ b/test/unit/integrations/hi_trust/hi_trust_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class HiTrustNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/hi_trust/hi_trust_return_test.rb b/test/unit/integrations/hi_trust/hi_trust_return_test.rb index 496b7f80c..c53221772 100644 --- a/test/unit/integrations/hi_trust/hi_trust_return_test.rb +++ b/test/unit/integrations/hi_trust/hi_trust_return_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class HiTrustReturnTest < Test::Unit::TestCase diff --git a/test/unit/integrations/ipay88/ipay88_helper_test.rb b/test/unit/integrations/ipay88/ipay88_helper_test.rb index 5a4ea8dd1..64fed1b3a 100644 --- a/test/unit/integrations/ipay88/ipay88_helper_test.rb +++ b/test/unit/integrations/ipay88/ipay88_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "test_helper" class Ipay88HelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/ipay88/ipay88_module_test.rb b/test/unit/integrations/ipay88/ipay88_module_test.rb index 0f15dc081..a6585706b 100644 --- a/test/unit/integrations/ipay88/ipay88_module_test.rb +++ b/test/unit/integrations/ipay88/ipay88_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class Ipay88ModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/ipay88/ipay88_notification_test.rb b/test/unit/integrations/ipay88/ipay88_notification_test.rb index 73addc9db..d3dc3f403 100644 --- a/test/unit/integrations/ipay88/ipay88_notification_test.rb +++ b/test/unit/integrations/ipay88/ipay88_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class Ipay88NotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/ipay88/ipay88_return_test.rb b/test/unit/integrations/ipay88/ipay88_return_test.rb index f03a768c8..4fa1e3058 100644 --- a/test/unit/integrations/ipay88/ipay88_return_test.rb +++ b/test/unit/integrations/ipay88/ipay88_return_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "test_helper" class Ipay88ReturnTest < Test::Unit::TestCase diff --git a/test/unit/integrations/klarna/klarna_helper_test.rb b/test/unit/integrations/klarna/klarna_helper_test.rb index e49bf0358..3a5a0729e 100644 --- a/test/unit/integrations/klarna/klarna_helper_test.rb +++ b/test/unit/integrations/klarna/klarna_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class KlarnaHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/klarna/klarna_module_test.rb b/test/unit/integrations/klarna/klarna_module_test.rb index ad08cb592..16d419841 100644 --- a/test/unit/integrations/klarna/klarna_module_test.rb +++ b/test/unit/integrations/klarna/klarna_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class KlarnaModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/klarna/klarna_notification_test.rb b/test/unit/integrations/klarna/klarna_notification_test.rb index f6c880c4b..fff840d9d 100644 --- a/test/unit/integrations/klarna/klarna_notification_test.rb +++ b/test/unit/integrations/klarna/klarna_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class KlarnaNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/liqpay/liqpay_helper_test.rb b/test/unit/integrations/liqpay/liqpay_helper_test.rb index 2568e2577..78313e8be 100644 --- a/test/unit/integrations/liqpay/liqpay_helper_test.rb +++ b/test/unit/integrations/liqpay/liqpay_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class LiqpayHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/liqpay/liqpay_module_test.rb b/test/unit/integrations/liqpay/liqpay_module_test.rb index 1e4568897..d860738f4 100644 --- a/test/unit/integrations/liqpay/liqpay_module_test.rb +++ b/test/unit/integrations/liqpay/liqpay_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class LiqpayModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/liqpay/liqpay_notification_test.rb b/test/unit/integrations/liqpay/liqpay_notification_test.rb index a8419c249..3ad3c2072 100644 --- a/test/unit/integrations/liqpay/liqpay_notification_test.rb +++ b/test/unit/integrations/liqpay/liqpay_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class LiqpayNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/liqpay/liqpay_return_test.rb b/test/unit/integrations/liqpay/liqpay_return_test.rb index e0f72dca5..f2f992457 100644 --- a/test/unit/integrations/liqpay/liqpay_return_test.rb +++ b/test/unit/integrations/liqpay/liqpay_return_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class LiqpayReturnTest < Test::Unit::TestCase diff --git a/test/unit/integrations/maksuturva/maksuturva_helper_test.rb b/test/unit/integrations/maksuturva/maksuturva_helper_test.rb index 5212b8698..15ac280bb 100644 --- a/test/unit/integrations/maksuturva/maksuturva_helper_test.rb +++ b/test/unit/integrations/maksuturva/maksuturva_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "test_helper" class MaksuturvaHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/maksuturva/maksuturva_module_test.rb b/test/unit/integrations/maksuturva/maksuturva_module_test.rb index c3f45f04c..56ee613a6 100644 --- a/test/unit/integrations/maksuturva/maksuturva_module_test.rb +++ b/test/unit/integrations/maksuturva/maksuturva_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class MaksuturvaModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/maksuturva/maksuturva_notification_test.rb b/test/unit/integrations/maksuturva/maksuturva_notification_test.rb index 23fe1a4e4..2f001b436 100644 --- a/test/unit/integrations/maksuturva/maksuturva_notification_test.rb +++ b/test/unit/integrations/maksuturva/maksuturva_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class MaksuturvaNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/mollie/mollie_test.rb b/test/unit/integrations/mollie/mollie_test.rb index 728052a6e..426e08d8b 100644 --- a/test/unit/integrations/mollie/mollie_test.rb +++ b/test/unit/integrations/mollie/mollie_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class MollieTest < Test::Unit::TestCase diff --git a/test/unit/integrations/mollie_ideal/mollie_ideal_helper_test.rb b/test/unit/integrations/mollie_ideal/mollie_ideal_helper_test.rb index 46140b666..4cc052151 100644 --- a/test/unit/integrations/mollie_ideal/mollie_ideal_helper_test.rb +++ b/test/unit/integrations/mollie_ideal/mollie_ideal_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class MollieIdealHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/mollie_ideal/mollie_ideal_module_test.rb b/test/unit/integrations/mollie_ideal/mollie_ideal_module_test.rb index 8accf37d8..90583bc64 100644 --- a/test/unit/integrations/mollie_ideal/mollie_ideal_module_test.rb +++ b/test/unit/integrations/mollie_ideal/mollie_ideal_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class MollieIdealModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/mollie_ideal/mollie_ideal_notification_test.rb b/test/unit/integrations/mollie_ideal/mollie_ideal_notification_test.rb index be70b199c..f6ebf8351 100644 --- a/test/unit/integrations/mollie_ideal/mollie_ideal_notification_test.rb +++ b/test/unit/integrations/mollie_ideal/mollie_ideal_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class MollieIdealNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/mollie_mistercash/mollie_mistercash_helper_test.rb b/test/unit/integrations/mollie_mistercash/mollie_mistercash_helper_test.rb index 9ca08635d..912616eb8 100644 --- a/test/unit/integrations/mollie_mistercash/mollie_mistercash_helper_test.rb +++ b/test/unit/integrations/mollie_mistercash/mollie_mistercash_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class MollieMistercashHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/mollie_mistercash/mollie_mistercash_module_test.rb b/test/unit/integrations/mollie_mistercash/mollie_mistercash_module_test.rb index b59485158..800b59384 100644 --- a/test/unit/integrations/mollie_mistercash/mollie_mistercash_module_test.rb +++ b/test/unit/integrations/mollie_mistercash/mollie_mistercash_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class MollieMistercashModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/mollie_mistercash/mollie_mistercash_notification_test.rb b/test/unit/integrations/mollie_mistercash/mollie_mistercash_notification_test.rb index 4d36793c1..78c251f5c 100644 --- a/test/unit/integrations/mollie_mistercash/mollie_mistercash_notification_test.rb +++ b/test/unit/integrations/mollie_mistercash/mollie_mistercash_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class MollieMistercashNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/molpay/molpay_helper_test.rb b/test/unit/integrations/molpay/molpay_helper_test.rb index 17b8e849b..4cb4d3243 100644 --- a/test/unit/integrations/molpay/molpay_helper_test.rb +++ b/test/unit/integrations/molpay/molpay_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class MolpayHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/molpay/molpay_module_test.rb b/test/unit/integrations/molpay/molpay_module_test.rb index 2b27539fa..c3ad6df6c 100644 --- a/test/unit/integrations/molpay/molpay_module_test.rb +++ b/test/unit/integrations/molpay/molpay_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class MolpayModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/molpay/molpay_notification_test.rb b/test/unit/integrations/molpay/molpay_notification_test.rb index 0b9de2a40..017a7d7a5 100644 --- a/test/unit/integrations/molpay/molpay_notification_test.rb +++ b/test/unit/integrations/molpay/molpay_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class MolpayNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/molpay/molpay_return_test.rb b/test/unit/integrations/molpay/molpay_return_test.rb index 684f4fb07..49df93d03 100644 --- a/test/unit/integrations/molpay/molpay_return_test.rb +++ b/test/unit/integrations/molpay/molpay_return_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class MolpayReturnTest < Test::Unit::TestCase diff --git a/test/unit/integrations/moneybookers/moneybookers_helper_test.rb b/test/unit/integrations/moneybookers/moneybookers_helper_test.rb index 64ab1fa8c..e350aab52 100644 --- a/test/unit/integrations/moneybookers/moneybookers_helper_test.rb +++ b/test/unit/integrations/moneybookers/moneybookers_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class MoneybookersHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/moneybookers/moneybookers_module_test.rb b/test/unit/integrations/moneybookers/moneybookers_module_test.rb index 31405de57..3182cfd38 100644 --- a/test/unit/integrations/moneybookers/moneybookers_module_test.rb +++ b/test/unit/integrations/moneybookers/moneybookers_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class MoneybookersModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/moneybookers/moneybookers_notification_test.rb b/test/unit/integrations/moneybookers/moneybookers_notification_test.rb index c0338a53f..56042ad39 100644 --- a/test/unit/integrations/moneybookers/moneybookers_notification_test.rb +++ b/test/unit/integrations/moneybookers/moneybookers_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class MoneybookersNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/nochex/nochex_helper_test.rb b/test/unit/integrations/nochex/nochex_helper_test.rb index d70b78a2e..0bd1b62ca 100644 --- a/test/unit/integrations/nochex/nochex_helper_test.rb +++ b/test/unit/integrations/nochex/nochex_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class NochexHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/nochex/nochex_module_test.rb b/test/unit/integrations/nochex/nochex_module_test.rb index bb33f6d2a..996761941 100644 --- a/test/unit/integrations/nochex/nochex_module_test.rb +++ b/test/unit/integrations/nochex/nochex_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class NochexModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/nochex/nochex_notification_test.rb b/test/unit/integrations/nochex/nochex_notification_test.rb index 8df5f2efd..a8e0aabd6 100644 --- a/test/unit/integrations/nochex/nochex_notification_test.rb +++ b/test/unit/integrations/nochex/nochex_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class NochexNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/nochex/nochex_return_test.rb b/test/unit/integrations/nochex/nochex_return_test.rb index dd9ae190d..921dc5e21 100644 --- a/test/unit/integrations/nochex/nochex_return_test.rb +++ b/test/unit/integrations/nochex/nochex_return_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class NochexReturnTest < Test::Unit::TestCase diff --git a/test/unit/integrations/pag_seguro/pag_seguro_helper_test.rb b/test/unit/integrations/pag_seguro/pag_seguro_helper_test.rb index 0d1155feb..5472ac174 100644 --- a/test/unit/integrations/pag_seguro/pag_seguro_helper_test.rb +++ b/test/unit/integrations/pag_seguro/pag_seguro_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class PagSeguroHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/pag_seguro/pag_seguro_module_test.rb b/test/unit/integrations/pag_seguro/pag_seguro_module_test.rb index 5eec87b6c..af78b87cf 100644 --- a/test/unit/integrations/pag_seguro/pag_seguro_module_test.rb +++ b/test/unit/integrations/pag_seguro/pag_seguro_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class PagSeguroModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/pag_seguro/pag_seguro_notification_test.rb b/test/unit/integrations/pag_seguro/pag_seguro_notification_test.rb index decd4dea4..206c9037b 100644 --- a/test/unit/integrations/pag_seguro/pag_seguro_notification_test.rb +++ b/test/unit/integrations/pag_seguro/pag_seguro_notification_test.rb @@ -1,4 +1,5 @@ -# encoding: utf-8 +# frozen_string_literal: true + require 'test_helper' class PagSeguroNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/paxum/paxum_helper_test.rb b/test/unit/integrations/paxum/paxum_helper_test.rb index cb42a513d..0a74683ca 100644 --- a/test/unit/integrations/paxum/paxum_helper_test.rb +++ b/test/unit/integrations/paxum/paxum_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class PaxumHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/paxum/paxum_module_test.rb b/test/unit/integrations/paxum/paxum_module_test.rb index b9d855ffd..c0bf5662c 100644 --- a/test/unit/integrations/paxum/paxum_module_test.rb +++ b/test/unit/integrations/paxum/paxum_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class PaxumModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/paxum/paxum_notification_test.rb b/test/unit/integrations/paxum/paxum_notification_test.rb index d6eeff77f..070866dd5 100644 --- a/test/unit/integrations/paxum/paxum_notification_test.rb +++ b/test/unit/integrations/paxum/paxum_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class PaxumNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/pay_fast/pay_fast_helper_test.rb b/test/unit/integrations/pay_fast/pay_fast_helper_test.rb index 9fe093eb2..a610242ed 100644 --- a/test/unit/integrations/pay_fast/pay_fast_helper_test.rb +++ b/test/unit/integrations/pay_fast/pay_fast_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class PayFastHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/pay_fast/pay_fast_module_test.rb b/test/unit/integrations/pay_fast/pay_fast_module_test.rb index 94d7a08cb..b33ddfdf2 100644 --- a/test/unit/integrations/pay_fast/pay_fast_module_test.rb +++ b/test/unit/integrations/pay_fast/pay_fast_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class PayFastModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/pay_fast/pay_fast_notification_test.rb b/test/unit/integrations/pay_fast/pay_fast_notification_test.rb index 1599531c1..5762786f5 100644 --- a/test/unit/integrations/pay_fast/pay_fast_notification_test.rb +++ b/test/unit/integrations/pay_fast/pay_fast_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class PayFastNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/paydollar/paydollar_helper_test.rb b/test/unit/integrations/paydollar/paydollar_helper_test.rb index 174239a74..dc0d09713 100644 --- a/test/unit/integrations/paydollar/paydollar_helper_test.rb +++ b/test/unit/integrations/paydollar/paydollar_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class PaydollarHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/paydollar/paydollar_module_test.rb b/test/unit/integrations/paydollar/paydollar_module_test.rb index 61aa2cb1d..3b29f300d 100644 --- a/test/unit/integrations/paydollar/paydollar_module_test.rb +++ b/test/unit/integrations/paydollar/paydollar_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class PaydollarModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/paydollar/paydollar_notification_test.rb b/test/unit/integrations/paydollar/paydollar_notification_test.rb index ef9c285c2..a00925837 100644 --- a/test/unit/integrations/paydollar/paydollar_notification_test.rb +++ b/test/unit/integrations/paydollar/paydollar_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class PaydollarNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/paydollar/paydollar_return_test.rb b/test/unit/integrations/paydollar/paydollar_return_test.rb index dfb1f5e98..87984a990 100644 --- a/test/unit/integrations/paydollar/paydollar_return_test.rb +++ b/test/unit/integrations/paydollar/paydollar_return_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class PaydollarReturnTest < Test::Unit::TestCase diff --git a/test/unit/integrations/payflow_link/payflow_link_helper_test.rb b/test/unit/integrations/payflow_link/payflow_link_helper_test.rb index 50b81325e..e1554b686 100644 --- a/test/unit/integrations/payflow_link/payflow_link_helper_test.rb +++ b/test/unit/integrations/payflow_link/payflow_link_helper_test.rb @@ -1,4 +1,5 @@ -# encoding: utf-8 +# frozen_string_literal: true + require 'test_helper' class PayflowLinkHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/payflow_link/payflow_link_notification_test.rb b/test/unit/integrations/payflow_link/payflow_link_notification_test.rb index e176eef1c..4e55d5452 100644 --- a/test/unit/integrations/payflow_link/payflow_link_notification_test.rb +++ b/test/unit/integrations/payflow_link/payflow_link_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class PayflowLinkNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/paypal/paypal_helper_test.rb b/test/unit/integrations/paypal/paypal_helper_test.rb index e6c7e35e0..967524839 100644 --- a/test/unit/integrations/paypal/paypal_helper_test.rb +++ b/test/unit/integrations/paypal/paypal_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class PaypalHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/paypal/paypal_module_test.rb b/test/unit/integrations/paypal/paypal_module_test.rb index 32826750f..8d8fdf7e5 100644 --- a/test/unit/integrations/paypal/paypal_module_test.rb +++ b/test/unit/integrations/paypal/paypal_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class PaypalModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/paypal/paypal_notification_test.rb b/test/unit/integrations/paypal/paypal_notification_test.rb index e5f62b45a..e202b3e93 100644 --- a/test/unit/integrations/paypal/paypal_notification_test.rb +++ b/test/unit/integrations/paypal/paypal_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class PaypalNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/paypal/paypal_return_test.rb b/test/unit/integrations/paypal/paypal_return_test.rb index bc685be48..85fea6e62 100644 --- a/test/unit/integrations/paypal/paypal_return_test.rb +++ b/test/unit/integrations/paypal/paypal_return_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class PaypalReturnTest < Test::Unit::TestCase diff --git a/test/unit/integrations/paypal_payments_advanced/paypal_payments_advanced_helper_test.rb b/test/unit/integrations/paypal_payments_advanced/paypal_payments_advanced_helper_test.rb index 1c209e1d3..f053643c7 100644 --- a/test/unit/integrations/paypal_payments_advanced/paypal_payments_advanced_helper_test.rb +++ b/test/unit/integrations/paypal_payments_advanced/paypal_payments_advanced_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class PaypalPaymentsAdvancedHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/paysbuy/paysbuy_helper_test.rb b/test/unit/integrations/paysbuy/paysbuy_helper_test.rb index ddeafbfef..5e4c594d8 100644 --- a/test/unit/integrations/paysbuy/paysbuy_helper_test.rb +++ b/test/unit/integrations/paysbuy/paysbuy_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class PaysbuyHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/paysbuy/paysbuy_module_test.rb b/test/unit/integrations/paysbuy/paysbuy_module_test.rb index 2334eb231..0d64cd0f9 100644 --- a/test/unit/integrations/paysbuy/paysbuy_module_test.rb +++ b/test/unit/integrations/paysbuy/paysbuy_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class PaysbuyModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/paysbuy/paysbuy_notification_test.rb b/test/unit/integrations/paysbuy/paysbuy_notification_test.rb index c24a1ce58..056e70d43 100644 --- a/test/unit/integrations/paysbuy/paysbuy_notification_test.rb +++ b/test/unit/integrations/paysbuy/paysbuy_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class PaysbuyNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/paytm/paytm_helper_test.rb b/test/unit/integrations/paytm/paytm_helper_test.rb index eeef41a12..d243b5ba3 100644 --- a/test/unit/integrations/paytm/paytm_helper_test.rb +++ b/test/unit/integrations/paytm/paytm_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class RemotePaytmTest < Test::Unit::TestCase diff --git a/test/unit/integrations/paytm/paytm_module_test.rb b/test/unit/integrations/paytm/paytm_module_test.rb index aad72da8e..a66e62434 100644 --- a/test/unit/integrations/paytm/paytm_module_test.rb +++ b/test/unit/integrations/paytm/paytm_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class PaytmModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/paytm/paytm_notification_test.rb b/test/unit/integrations/paytm/paytm_notification_test.rb index 9894045c9..aec225b02 100644 --- a/test/unit/integrations/paytm/paytm_notification_test.rb +++ b/test/unit/integrations/paytm/paytm_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class PaytmNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/paytm/paytm_return_test.rb b/test/unit/integrations/paytm/paytm_return_test.rb index e67e606d8..6dee1de94 100644 --- a/test/unit/integrations/paytm/paytm_return_test.rb +++ b/test/unit/integrations/paytm/paytm_return_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class PaytmReturnTest < Test::Unit::TestCase diff --git a/test/unit/integrations/payu_in/payu_in_helper_test.rb b/test/unit/integrations/payu_in/payu_in_helper_test.rb index d0ca06144..ea619b8cd 100644 --- a/test/unit/integrations/payu_in/payu_in_helper_test.rb +++ b/test/unit/integrations/payu_in/payu_in_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class PayuInHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/payu_in/payu_in_module_test.rb b/test/unit/integrations/payu_in/payu_in_module_test.rb index d5b36dee2..147a5c920 100644 --- a/test/unit/integrations/payu_in/payu_in_module_test.rb +++ b/test/unit/integrations/payu_in/payu_in_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class PayuInModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/payu_in/payu_in_notification_test.rb b/test/unit/integrations/payu_in/payu_in_notification_test.rb index 8bd7dfdd9..98b9f5fb0 100644 --- a/test/unit/integrations/payu_in/payu_in_notification_test.rb +++ b/test/unit/integrations/payu_in/payu_in_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class PayuInNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/payu_in/payu_in_return_test.rb b/test/unit/integrations/payu_in/payu_in_return_test.rb index aab9dff82..a907c8bf3 100644 --- a/test/unit/integrations/payu_in/payu_in_return_test.rb +++ b/test/unit/integrations/payu_in/payu_in_return_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class PayuInReturnTest < Test::Unit::TestCase diff --git a/test/unit/integrations/payu_in_paisa/payu_in_paisa_helper_test.rb b/test/unit/integrations/payu_in_paisa/payu_in_paisa_helper_test.rb index e6b3c4385..82c457869 100644 --- a/test/unit/integrations/payu_in_paisa/payu_in_paisa_helper_test.rb +++ b/test/unit/integrations/payu_in_paisa/payu_in_paisa_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class PayuInPaisaHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/payu_in_paisa/payu_in_paisa_module_test.rb b/test/unit/integrations/payu_in_paisa/payu_in_paisa_module_test.rb index 8658f46aa..8f6a26d02 100644 --- a/test/unit/integrations/payu_in_paisa/payu_in_paisa_module_test.rb +++ b/test/unit/integrations/payu_in_paisa/payu_in_paisa_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class PayuInPaisaModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/payu_in_paisa/payu_in_paisa_notification_test.rb b/test/unit/integrations/payu_in_paisa/payu_in_paisa_notification_test.rb index b8fbfe000..1cfdd6658 100644 --- a/test/unit/integrations/payu_in_paisa/payu_in_paisa_notification_test.rb +++ b/test/unit/integrations/payu_in_paisa/payu_in_paisa_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class PayuInPaisaNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/payu_in_paisa/payu_in_paisa_return_test.rb b/test/unit/integrations/payu_in_paisa/payu_in_paisa_return_test.rb index c247bb155..ad42aaf81 100644 --- a/test/unit/integrations/payu_in_paisa/payu_in_paisa_return_test.rb +++ b/test/unit/integrations/payu_in_paisa/payu_in_paisa_return_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class PayuInPaisaReturnTest < Test::Unit::TestCase diff --git a/test/unit/integrations/platron/platron_helper_test.rb b/test/unit/integrations/platron/platron_helper_test.rb index 51a902b2c..f857919e0 100644 --- a/test/unit/integrations/platron/platron_helper_test.rb +++ b/test/unit/integrations/platron/platron_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class PlatronHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/platron/platron_module_test.rb b/test/unit/integrations/platron/platron_module_test.rb index ef0fd4add..0f7754684 100644 --- a/test/unit/integrations/platron/platron_module_test.rb +++ b/test/unit/integrations/platron/platron_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class PlatronModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/platron/platron_notification_test.rb b/test/unit/integrations/platron/platron_notification_test.rb index 768d6cd8d..3d6ceb852 100644 --- a/test/unit/integrations/platron/platron_notification_test.rb +++ b/test/unit/integrations/platron/platron_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class PlatronNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/pxpay/pxpay_module_test.rb b/test/unit/integrations/pxpay/pxpay_module_test.rb index 6fc541d77..a1b0b68a1 100644 --- a/test/unit/integrations/pxpay/pxpay_module_test.rb +++ b/test/unit/integrations/pxpay/pxpay_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' require 'nokogiri' diff --git a/test/unit/integrations/pxpay/pxpay_notification_test.rb b/test/unit/integrations/pxpay/pxpay_notification_test.rb index fc10be65e..9b8c9b5be 100644 --- a/test/unit/integrations/pxpay/pxpay_notification_test.rb +++ b/test/unit/integrations/pxpay/pxpay_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class PxPayNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/quickpay/quickpay_helper_test.rb b/test/unit/integrations/quickpay/quickpay_helper_test.rb index fde118e74..d51327ef9 100644 --- a/test/unit/integrations/quickpay/quickpay_helper_test.rb +++ b/test/unit/integrations/quickpay/quickpay_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class QuickpayHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/quickpay/quickpay_module_test.rb b/test/unit/integrations/quickpay/quickpay_module_test.rb index bc825845e..03bad738a 100644 --- a/test/unit/integrations/quickpay/quickpay_module_test.rb +++ b/test/unit/integrations/quickpay/quickpay_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class QuickpayModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/quickpay/quickpay_notification_test.rb b/test/unit/integrations/quickpay/quickpay_notification_test.rb index 242154bac..264406b74 100644 --- a/test/unit/integrations/quickpay/quickpay_notification_test.rb +++ b/test/unit/integrations/quickpay/quickpay_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class QuickpayNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/quickpay_v10/quickpay_v10_helper_test.rb b/test/unit/integrations/quickpay_v10/quickpay_v10_helper_test.rb index f846b2348..1c09d6458 100644 --- a/test/unit/integrations/quickpay_v10/quickpay_v10_helper_test.rb +++ b/test/unit/integrations/quickpay_v10/quickpay_v10_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class QuickpayV10HelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/quickpay_v10/quickpay_v10_module_test.rb b/test/unit/integrations/quickpay_v10/quickpay_v10_module_test.rb index 1c97f8479..2c631867d 100644 --- a/test/unit/integrations/quickpay_v10/quickpay_v10_module_test.rb +++ b/test/unit/integrations/quickpay_v10/quickpay_v10_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class QuickpayV10ModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/quickpay_v10/quickpay_v10_notification_test.rb b/test/unit/integrations/quickpay_v10/quickpay_v10_notification_test.rb index 6ac31307d..15e4a01a0 100644 --- a/test/unit/integrations/quickpay_v10/quickpay_v10_notification_test.rb +++ b/test/unit/integrations/quickpay_v10/quickpay_v10_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class QuickpayV10NotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/rbkmoney/rbkmoney_helper_test.rb b/test/unit/integrations/rbkmoney/rbkmoney_helper_test.rb index 73b1c87cd..34e5b4dd9 100644 --- a/test/unit/integrations/rbkmoney/rbkmoney_helper_test.rb +++ b/test/unit/integrations/rbkmoney/rbkmoney_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class RbkmoneyHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/rbkmoney/rbkmoney_module_test.rb b/test/unit/integrations/rbkmoney/rbkmoney_module_test.rb index 7282dee2e..771b321b0 100644 --- a/test/unit/integrations/rbkmoney/rbkmoney_module_test.rb +++ b/test/unit/integrations/rbkmoney/rbkmoney_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class RbkmoneyModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/rbkmoney/rbkmoney_notification_test.rb b/test/unit/integrations/rbkmoney/rbkmoney_notification_test.rb index 4d861656b..43d65c8af 100644 --- a/test/unit/integrations/rbkmoney/rbkmoney_notification_test.rb +++ b/test/unit/integrations/rbkmoney/rbkmoney_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class RbkmoneyNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/realex_offsite/realex_offsite_helper_test.rb b/test/unit/integrations/realex_offsite/realex_offsite_helper_test.rb index 96dae0128..14c511327 100644 --- a/test/unit/integrations/realex_offsite/realex_offsite_helper_test.rb +++ b/test/unit/integrations/realex_offsite/realex_offsite_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class RealexOffsiteHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/realex_offsite/realex_offsite_module_test.rb b/test/unit/integrations/realex_offsite/realex_offsite_module_test.rb index ebc498f04..1836eb597 100644 --- a/test/unit/integrations/realex_offsite/realex_offsite_module_test.rb +++ b/test/unit/integrations/realex_offsite/realex_offsite_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class RealexOffsiteModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/realex_offsite/realex_offsite_notification_test.rb b/test/unit/integrations/realex_offsite/realex_offsite_notification_test.rb index 314b15c74..575c6e27d 100644 --- a/test/unit/integrations/realex_offsite/realex_offsite_notification_test.rb +++ b/test/unit/integrations/realex_offsite/realex_offsite_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class RealexOffsiteNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/robokassa/robokassa_helper_test.rb b/test/unit/integrations/robokassa/robokassa_helper_test.rb index c1947d81f..0500d92cb 100644 --- a/test/unit/integrations/robokassa/robokassa_helper_test.rb +++ b/test/unit/integrations/robokassa/robokassa_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class RobokassaHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/robokassa/robokassa_module_test.rb b/test/unit/integrations/robokassa/robokassa_module_test.rb index 72d3023da..1c48a01cd 100644 --- a/test/unit/integrations/robokassa/robokassa_module_test.rb +++ b/test/unit/integrations/robokassa/robokassa_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class RobokassaModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/robokassa/robokassa_notification_test.rb b/test/unit/integrations/robokassa/robokassa_notification_test.rb index b0d49854a..d9957b9ec 100644 --- a/test/unit/integrations/robokassa/robokassa_notification_test.rb +++ b/test/unit/integrations/robokassa/robokassa_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class RobokassaNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/sage_pay_form/sage_pay_form_helper_test.rb b/test/unit/integrations/sage_pay_form/sage_pay_form_helper_test.rb index e5e4f3a16..999442fb4 100644 --- a/test/unit/integrations/sage_pay_form/sage_pay_form_helper_test.rb +++ b/test/unit/integrations/sage_pay_form/sage_pay_form_helper_test.rb @@ -1,4 +1,4 @@ -# encoding: utf-8 +# frozen_string_literal: true require 'test_helper' require 'active_support/core_ext/hash' diff --git a/test/unit/integrations/sage_pay_form/sage_pay_form_module_test.rb b/test/unit/integrations/sage_pay_form/sage_pay_form_module_test.rb index b1617bac0..2115423c5 100644 --- a/test/unit/integrations/sage_pay_form/sage_pay_form_module_test.rb +++ b/test/unit/integrations/sage_pay_form/sage_pay_form_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class SagePayFormModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/sage_pay_form/sage_pay_form_notification_test.rb b/test/unit/integrations/sage_pay_form/sage_pay_form_notification_test.rb index 6422f041e..eeadf40fb 100644 --- a/test/unit/integrations/sage_pay_form/sage_pay_form_notification_test.rb +++ b/test/unit/integrations/sage_pay_form/sage_pay_form_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class SagePayFormNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/sage_pay_form/sage_pay_form_return_test.rb b/test/unit/integrations/sage_pay_form/sage_pay_form_return_test.rb index 306e3e516..bdbb6e07c 100644 --- a/test/unit/integrations/sage_pay_form/sage_pay_form_return_test.rb +++ b/test/unit/integrations/sage_pay_form/sage_pay_form_return_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class SagePayFormReturnTest < Test::Unit::TestCase diff --git a/test/unit/integrations/two_checkout/two_checkout_helper_test.rb b/test/unit/integrations/two_checkout/two_checkout_helper_test.rb index ac4c49ecc..a431b3dbf 100644 --- a/test/unit/integrations/two_checkout/two_checkout_helper_test.rb +++ b/test/unit/integrations/two_checkout/two_checkout_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class TwoCheckoutHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/two_checkout/two_checkout_module_test.rb b/test/unit/integrations/two_checkout/two_checkout_module_test.rb index 16503fef6..f02ae56f0 100644 --- a/test/unit/integrations/two_checkout/two_checkout_module_test.rb +++ b/test/unit/integrations/two_checkout/two_checkout_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class TwoCheckoutModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/two_checkout/two_checkout_notification_test.rb b/test/unit/integrations/two_checkout/two_checkout_notification_test.rb index 7c474f6ed..de08af7e5 100644 --- a/test/unit/integrations/two_checkout/two_checkout_notification_test.rb +++ b/test/unit/integrations/two_checkout/two_checkout_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class TwoCheckoutNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/two_checkout/two_checkout_return_test.rb b/test/unit/integrations/two_checkout/two_checkout_return_test.rb index 8d46b933c..463b925cf 100644 --- a/test/unit/integrations/two_checkout/two_checkout_return_test.rb +++ b/test/unit/integrations/two_checkout/two_checkout_return_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class TwoCheckoutReturnTest < Test::Unit::TestCase diff --git a/test/unit/integrations/universal/universal_helper_test.rb b/test/unit/integrations/universal/universal_helper_test.rb index 45bd759d1..cbd3e284a 100644 --- a/test/unit/integrations/universal/universal_helper_test.rb +++ b/test/unit/integrations/universal/universal_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class UniversalHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/universal/universal_module_test.rb b/test/unit/integrations/universal/universal_module_test.rb index cbb704932..f2c2a6137 100644 --- a/test/unit/integrations/universal/universal_module_test.rb +++ b/test/unit/integrations/universal/universal_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class UniversalModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/universal/universal_notification_test.rb b/test/unit/integrations/universal/universal_notification_test.rb index c1a124594..c8cb12d0c 100644 --- a/test/unit/integrations/universal/universal_notification_test.rb +++ b/test/unit/integrations/universal/universal_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class UniversalNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/universal/universal_return_test.rb b/test/unit/integrations/universal/universal_return_test.rb index c01813666..a7e9c74d3 100644 --- a/test/unit/integrations/universal/universal_return_test.rb +++ b/test/unit/integrations/universal/universal_return_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class UniversalReturnTest < Test::Unit::TestCase diff --git a/test/unit/integrations/valitor/valitor_helper_test.rb b/test/unit/integrations/valitor/valitor_helper_test.rb index 871678d3f..e62e05b4f 100644 --- a/test/unit/integrations/valitor/valitor_helper_test.rb +++ b/test/unit/integrations/valitor/valitor_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class ValitorHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/valitor/valitor_module_test.rb b/test/unit/integrations/valitor/valitor_module_test.rb index e6f0a87b0..61cb918d3 100644 --- a/test/unit/integrations/valitor/valitor_module_test.rb +++ b/test/unit/integrations/valitor/valitor_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class ValitorModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/valitor/valitor_notification_test.rb b/test/unit/integrations/valitor/valitor_notification_test.rb index 46125382e..034fd8abe 100644 --- a/test/unit/integrations/valitor/valitor_notification_test.rb +++ b/test/unit/integrations/valitor/valitor_notification_test.rb @@ -1,4 +1,5 @@ -# encoding: utf-8 +# frozen_string_literal: true + require 'test_helper' class ValitorNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/valitor/valitor_return_test.rb b/test/unit/integrations/valitor/valitor_return_test.rb index c0a83b377..d196f5a4c 100644 --- a/test/unit/integrations/valitor/valitor_return_test.rb +++ b/test/unit/integrations/valitor/valitor_return_test.rb @@ -1,4 +1,5 @@ -# encoding: utf-8 +# frozen_string_literal: true + require 'test_helper' class ValitorReturnTest < Test::Unit::TestCase diff --git a/test/unit/integrations/verkkomaksut/verkkomaksut_helper_test.rb b/test/unit/integrations/verkkomaksut/verkkomaksut_helper_test.rb index 856f8c4fe..0120e862c 100644 --- a/test/unit/integrations/verkkomaksut/verkkomaksut_helper_test.rb +++ b/test/unit/integrations/verkkomaksut/verkkomaksut_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class VerkkomaksutHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/verkkomaksut/verkkomaksut_module_test.rb b/test/unit/integrations/verkkomaksut/verkkomaksut_module_test.rb index 6f7fa851c..ea26761e6 100644 --- a/test/unit/integrations/verkkomaksut/verkkomaksut_module_test.rb +++ b/test/unit/integrations/verkkomaksut/verkkomaksut_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class VerkkomaksutModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/verkkomaksut/verkkomaksut_notification_test.rb b/test/unit/integrations/verkkomaksut/verkkomaksut_notification_test.rb index a97d448ec..bad01b485 100644 --- a/test/unit/integrations/verkkomaksut/verkkomaksut_notification_test.rb +++ b/test/unit/integrations/verkkomaksut/verkkomaksut_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class VerkkomaksutNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/web_pay/web_pay_helper_test.rb b/test/unit/integrations/web_pay/web_pay_helper_test.rb index 87c5152c8..b85611d7f 100644 --- a/test/unit/integrations/web_pay/web_pay_helper_test.rb +++ b/test/unit/integrations/web_pay/web_pay_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class WebPayHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/web_pay/web_pay_module_test.rb b/test/unit/integrations/web_pay/web_pay_module_test.rb index 5f171fcb2..87d31a7c9 100644 --- a/test/unit/integrations/web_pay/web_pay_module_test.rb +++ b/test/unit/integrations/web_pay/web_pay_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class WebPayModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/web_pay/web_pay_notification_test.rb b/test/unit/integrations/web_pay/web_pay_notification_test.rb index 72edad896..c4caf9d5a 100644 --- a/test/unit/integrations/web_pay/web_pay_notification_test.rb +++ b/test/unit/integrations/web_pay/web_pay_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class WebPayNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/webmoney/webmoney_helper_test.rb b/test/unit/integrations/webmoney/webmoney_helper_test.rb index 3d07e6dac..6e2c34d0b 100644 --- a/test/unit/integrations/webmoney/webmoney_helper_test.rb +++ b/test/unit/integrations/webmoney/webmoney_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class WebmoneyHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/webmoney/webmoney_module_test.rb b/test/unit/integrations/webmoney/webmoney_module_test.rb index 074b5ffd3..f11e1b89b 100644 --- a/test/unit/integrations/webmoney/webmoney_module_test.rb +++ b/test/unit/integrations/webmoney/webmoney_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class WebmoneyModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/webmoney/webmoney_notification_test.rb b/test/unit/integrations/webmoney/webmoney_notification_test.rb index 50ac21f27..89be3ac30 100644 --- a/test/unit/integrations/webmoney/webmoney_notification_test.rb +++ b/test/unit/integrations/webmoney/webmoney_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class WebmoneyNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/wirecard_checkout_page/wirecard_checkout_page_helper_test.rb b/test/unit/integrations/wirecard_checkout_page/wirecard_checkout_page_helper_test.rb index 7aa82e5f2..dfa22f8b6 100644 --- a/test/unit/integrations/wirecard_checkout_page/wirecard_checkout_page_helper_test.rb +++ b/test/unit/integrations/wirecard_checkout_page/wirecard_checkout_page_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class WirecardCheckoutPageHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/wirecard_checkout_page/wirecard_checkout_page_module_test.rb b/test/unit/integrations/wirecard_checkout_page/wirecard_checkout_page_module_test.rb index 9efef57bc..b282dade0 100644 --- a/test/unit/integrations/wirecard_checkout_page/wirecard_checkout_page_module_test.rb +++ b/test/unit/integrations/wirecard_checkout_page/wirecard_checkout_page_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class WirecardCheckoutPageModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/wirecard_checkout_page/wirecard_checkout_page_notification_test.rb b/test/unit/integrations/wirecard_checkout_page/wirecard_checkout_page_notification_test.rb index b263f8c50..227bfa0ae 100644 --- a/test/unit/integrations/wirecard_checkout_page/wirecard_checkout_page_notification_test.rb +++ b/test/unit/integrations/wirecard_checkout_page/wirecard_checkout_page_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class WirecardCheckoutPageNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations/wirecard_checkout_page/wirecard_checkout_page_return_test.rb b/test/unit/integrations/wirecard_checkout_page/wirecard_checkout_page_return_test.rb index 979742e54..989ae30fb 100644 --- a/test/unit/integrations/wirecard_checkout_page/wirecard_checkout_page_return_test.rb +++ b/test/unit/integrations/wirecard_checkout_page/wirecard_checkout_page_return_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class WirecardCheckoutPageReturnTest < Test::Unit::TestCase diff --git a/test/unit/integrations/world_pay/world_pay_helper_test.rb b/test/unit/integrations/world_pay/world_pay_helper_test.rb index 6a70993c5..2cbbfa42f 100644 --- a/test/unit/integrations/world_pay/world_pay_helper_test.rb +++ b/test/unit/integrations/world_pay/world_pay_helper_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class WorldPayHelperTest < Test::Unit::TestCase diff --git a/test/unit/integrations/world_pay/world_pay_module_test.rb b/test/unit/integrations/world_pay/world_pay_module_test.rb index 9482262c1..3d7903844 100644 --- a/test/unit/integrations/world_pay/world_pay_module_test.rb +++ b/test/unit/integrations/world_pay/world_pay_module_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class WorldPayModuleTest < Test::Unit::TestCase diff --git a/test/unit/integrations/world_pay/world_pay_notification_test.rb b/test/unit/integrations/world_pay/world_pay_notification_test.rb index 1d00c0a29..e03ebbd64 100644 --- a/test/unit/integrations/world_pay/world_pay_notification_test.rb +++ b/test/unit/integrations/world_pay/world_pay_notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class WorldPayNotificationTest < Test::Unit::TestCase diff --git a/test/unit/integrations_test.rb b/test/unit/integrations_test.rb index 87d1dffcf..72544cc4c 100644 --- a/test/unit/integrations_test.rb +++ b/test/unit/integrations_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class IntegrationsTest < Test::Unit::TestCase diff --git a/test/unit/notification_test.rb b/test/unit/notification_test.rb index 0d3b0df53..85286c4b7 100644 --- a/test/unit/notification_test.rb +++ b/test/unit/notification_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class NotificationTest < Test::Unit::TestCase diff --git a/test/unit/return_test.rb b/test/unit/return_test.rb index 2e8588a7a..2fdf3d5c7 100644 --- a/test/unit/return_test.rb +++ b/test/unit/return_test.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'test_helper' class ReturnTest < Test::Unit::TestCase