diff options
author | Alessandro Desantis <desa.alessandro@gmail.com> | 2020-09-24 14:23:54 +0200 |
---|---|---|
committer | Alessandro Desantis <desa.alessandro@gmail.com> | 2020-09-25 11:52:52 +0200 |
commit | a98ab3aeefca1b679376b6e05b91f5a516f8d802 (patch) | |
tree | 74312a78db6d2948d9d6129c9823c82195ea9072 /lib/solidus_subscriptions/testing_support | |
parent | c2ff76ed6f1b9aa377f566d7d98e743446919c0a (diff) |
Fix coding style violations
Diffstat (limited to 'lib/solidus_subscriptions/testing_support')
9 files changed, 18 insertions, 0 deletions
diff --git a/lib/solidus_subscriptions/testing_support/factories.rb b/lib/solidus_subscriptions/testing_support/factories.rb index 8423e0d..c19a785 100644 --- a/lib/solidus_subscriptions/testing_support/factories.rb +++ b/lib/solidus_subscriptions/testing_support/factories.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'factory_bot' require 'spree/testing_support/factories' diff --git a/lib/solidus_subscriptions/testing_support/factories/installment_detail_factory.rb b/lib/solidus_subscriptions/testing_support/factories/installment_detail_factory.rb index 6f90bf7..6910c0f 100644 --- a/lib/solidus_subscriptions/testing_support/factories/installment_detail_factory.rb +++ b/lib/solidus_subscriptions/testing_support/factories/installment_detail_factory.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + FactoryBot.define do factory :installment_detail, class: 'SolidusSubscriptions::InstallmentDetail' do installment diff --git a/lib/solidus_subscriptions/testing_support/factories/installment_factory.rb b/lib/solidus_subscriptions/testing_support/factories/installment_factory.rb index 9914019..2eb5069 100644 --- a/lib/solidus_subscriptions/testing_support/factories/installment_factory.rb +++ b/lib/solidus_subscriptions/testing_support/factories/installment_factory.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + FactoryBot.define do factory :installment, class: 'SolidusSubscriptions::Installment' do transient { diff --git a/lib/solidus_subscriptions/testing_support/factories/line_item_factory.rb b/lib/solidus_subscriptions/testing_support/factories/line_item_factory.rb index 51926a6..8d454d6 100644 --- a/lib/solidus_subscriptions/testing_support/factories/line_item_factory.rb +++ b/lib/solidus_subscriptions/testing_support/factories/line_item_factory.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + FactoryBot.define do factory :subscription_line_item, class: 'SolidusSubscriptions::LineItem' do subscribable_id { create(:variant, subscribable: true).id } diff --git a/lib/solidus_subscriptions/testing_support/factories/spree/line_item_factory.rb b/lib/solidus_subscriptions/testing_support/factories/spree/line_item_factory.rb index c9d1012..c0dcf1e 100644 --- a/lib/solidus_subscriptions/testing_support/factories/spree/line_item_factory.rb +++ b/lib/solidus_subscriptions/testing_support/factories/spree/line_item_factory.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + FactoryBot.modify do factory :line_item do trait :with_subscription_line_items do diff --git a/lib/solidus_subscriptions/testing_support/factories/spree/order_factory.rb b/lib/solidus_subscriptions/testing_support/factories/spree/order_factory.rb index 3eca360..ed51e3f 100644 --- a/lib/solidus_subscriptions/testing_support/factories/spree/order_factory.rb +++ b/lib/solidus_subscriptions/testing_support/factories/spree/order_factory.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + FactoryBot.modify do factory :order do trait :with_subscription_line_items do diff --git a/lib/solidus_subscriptions/testing_support/factories/spree_modification_factory.rb b/lib/solidus_subscriptions/testing_support/factories/spree_modification_factory.rb index 39e0e46..9870d85 100644 --- a/lib/solidus_subscriptions/testing_support/factories/spree_modification_factory.rb +++ b/lib/solidus_subscriptions/testing_support/factories/spree_modification_factory.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + FactoryBot.modify do factory :user do trait :subscription_user do diff --git a/lib/solidus_subscriptions/testing_support/factories/subscription_event_factory.rb b/lib/solidus_subscriptions/testing_support/factories/subscription_event_factory.rb index 0158e2e..8504037 100644 --- a/lib/solidus_subscriptions/testing_support/factories/subscription_event_factory.rb +++ b/lib/solidus_subscriptions/testing_support/factories/subscription_event_factory.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + FactoryBot.define do factory :subscription_event, class: 'SolidusSubscriptions::SubscriptionEvent' do subscription diff --git a/lib/solidus_subscriptions/testing_support/factories/subscription_factory.rb b/lib/solidus_subscriptions/testing_support/factories/subscription_factory.rb index 8660b13..2898d36 100644 --- a/lib/solidus_subscriptions/testing_support/factories/subscription_factory.rb +++ b/lib/solidus_subscriptions/testing_support/factories/subscription_factory.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + FactoryBot.define do factory :subscription, class: 'SolidusSubscriptions::Subscription' do store |