From b7e0d46dadb249ec2f2618f10d51a231203f01e0 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Mon, 13 Dec 2021 13:56:52 +1100 Subject: [PATCH] Style Layout/LineLength --- .rubocop_todo.yml | 1 - spec/system/consumer/shops_spec.rb | 16 ++++++++++++---- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index f648dfd145..da8a202961 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -161,7 +161,6 @@ Layout/LineLength: - 'spec/controllers/user_confirmations_controller_spec.rb' - 'spec/factories/stock_location_factory.rb' - 'spec/features/consumer/multilingual_spec.rb' - - 'spec/features/consumer/shops_spec.rb' - 'spec/helpers/enterprises_helper_spec.rb' - 'spec/helpers/injection_helper_spec.rb' - 'spec/helpers/order_cycles_helper_spec.rb' diff --git a/spec/system/consumer/shops_spec.rb b/spec/system/consumer/shops_spec.rb index 2122cf0a89..9379024c30 100644 --- a/spec/system/consumer/shops_spec.rb +++ b/spec/system/consumer/shops_spec.rb @@ -147,8 +147,12 @@ describe 'Shops', js: true do describe "property badges" do let!(:order_cycle) { - create(:simple_order_cycle, distributors: [distributor], - coordinator: create(:distributor_enterprise), variants: [product.variants.first]) + create( + :simple_order_cycle, + distributors: [distributor], + coordinator: create(:distributor_enterprise), + variants: [product.variants.first] + ) } let(:product) { create(:simple_product, supplier: producer) } @@ -176,8 +180,12 @@ describe 'Shops', js: true do let!(:product) { create(:simple_product, supplier: producer, taxons: [taxon]) } let!(:taxon) { create(:taxon, name: 'Fruit') } let!(:order_cycle) { - create(:simple_order_cycle, distributors: [distributor], - coordinator: create(:distributor_enterprise), variants: [product.variants.first]) + create( + :simple_order_cycle, + distributors: [distributor], + coordinator: create(:distributor_enterprise), + variants: [product.variants.first] + ) } it "shows hub producer modals" do