diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 6c16e42fd9..bb7d567f5d 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: 4 -# Cop supports --auto-correct. -# Configuration parameters: EnforcedStyle. -# SupportedStyles: empty_lines, no_empty_lines -Layout/EmptyLinesAroundBlockBody: - Exclude: - - 'spec/models/spree/payment_spec.rb' - - 'spec/models/spree/zone_spec.rb' - # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment. diff --git a/spec/models/spree/payment_spec.rb b/spec/models/spree/payment_spec.rb index 273f5b93c9..2a96f78c61 100644 --- a/spec/models/spree/payment_spec.rb +++ b/spec/models/spree/payment_spec.rb @@ -61,7 +61,6 @@ describe Spree::Payment do payment.failure expect(payment.state).to eql('failed') end - end context 'invalidate' do @@ -105,7 +104,6 @@ describe Spree::Payment do expect { payment.process!}.to raise_error(Spree::Core::GatewayError) expect(payment.state).to eq('invalid') end - end context "#authorize" do @@ -566,7 +564,6 @@ describe Spree::Payment do ) end end - end context "when profiles are not supported" do diff --git a/spec/models/spree/zone_spec.rb b/spec/models/spree/zone_spec.rb index 4badff1d50..9ff71bfeab 100644 --- a/spec/models/spree/zone_spec.rb +++ b/spec/models/spree/zone_spec.rb @@ -107,7 +107,6 @@ describe Spree::Zone do before { state_zone.members.create(zoneable: state) } it "should be true" do - expect(state_zone.include?(address)).to be_truthy end end