~cytrogen/masto-fe

e0e63b73ee906abea5e359e695bff4276e6c3276 — Nick Schonning 3 years ago 81ad6c2
Autofix Rubocop RSpec/EmptyLineAfterHook (#23718)

2 files changed, 1 insertions(+), 7 deletions(-)

M .rubocop_todo.yml
M spec/helpers/application_helper_spec.rb
M .rubocop_todo.yml => .rubocop_todo.yml +0 -7
@@ 825,13 825,6 @@ RSpec/EmptyExampleGroup:
    - 'spec/models/web/setting_spec.rb'
    - 'spec/services/unmute_service_spec.rb'

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowConsecutiveOneLiners.
RSpec/EmptyLineAfterHook:
  Exclude:
    - 'spec/helpers/application_helper_spec.rb'

# Offense count: 19
# This cop supports safe autocorrection (--autocorrect).
RSpec/EmptyLineAfterSubject:

M spec/helpers/application_helper_spec.rb => spec/helpers/application_helper_spec.rb +1 -0
@@ 82,6 82,7 @@ describe ApplicationHelper do
      before do
        allow(helper).to receive(:user_signed_in?).and_return(true)
      end

      it 'does not show landing strip' do
        expect(helper.show_landing_strip?).to eq false
      end