diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 305b4571a5..5ea589531b 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -6,15 +6,6 @@ # Note that changes in the inspected code, or installation of new # versions of RuboCop, may require this file to be generated again. -# Offense count: 2 -# This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: EnforcedStyle. -# SupportedStyles: empty_lines, no_empty_lines -Layout/EmptyLinesAroundBlockBody: - Exclude: - - 'spec/lib/stripe/payment_intent_validator_spec.rb' - - 'spec/system/admin/products_v3/products_spec.rb' - # Offense count: 2 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: Max, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns. diff --git a/spec/lib/stripe/payment_intent_validator_spec.rb b/spec/lib/stripe/payment_intent_validator_spec.rb index 70480ac2dd..797b62f9c2 100644 --- a/spec/lib/stripe/payment_intent_validator_spec.rb +++ b/spec/lib/stripe/payment_intent_validator_spec.rb @@ -4,7 +4,6 @@ require 'spec_helper' require 'stripe/payment_intent_validator' describe Stripe::PaymentIntentValidator do - let(:payment_method) { create(:stripe_sca_payment_method, distributor_ids: [create(:distributor_enterprise).id], preferred_enterprise_id: create(:enterprise).id) diff --git a/spec/system/admin/products_v3/products_spec.rb b/spec/system/admin/products_v3/products_spec.rb index 125fe3c185..6164d1ecf2 100644 --- a/spec/system/admin/products_v3/products_spec.rb +++ b/spec/system/admin/products_v3/products_spec.rb @@ -216,7 +216,6 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do expect(page).to have_field "Price", with: "10.25" expect(page).to have_css "button[aria-label='On Hand']", text: "6" end - end it "switches stock to on-demand" do