Browse Source

Autofix Rubocop RSpec/EmptyLineAfterHook (#23718)

closed-social-glitch-2
Nick Schonning 1 year ago
committed by GitHub
parent
commit
e0e63b73ee
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 7 deletions
  1. +0
    -7
      .rubocop_todo.yml
  2. +1
    -0
      spec/helpers/application_helper_spec.rb

+ 0
- 7
.rubocop_todo.yml View File

@ -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:

+ 1
- 0
spec/helpers/application_helper_spec.rb View File

@ -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

Loading…
Cancel
Save