diff options
author | Nick Schonning <nschonni@gmail.com> | 2023-02-19 00:54:34 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-19 14:54:34 +0900 |
commit | e0e63b73ee906abea5e359e695bff4276e6c3276 (patch) | |
tree | 69e687d20e468a18251c1920afe587636888d05c | |
parent | 81ad6c2e39393ff20450385cb37dd9bf6e6651e5 (diff) |
Autofix Rubocop RSpec/EmptyLineAfterHook (#23718)
-rw-r--r-- | .rubocop_todo.yml | 7 | ||||
-rw-r--r-- | spec/helpers/application_helper_spec.rb | 1 |
2 files changed, 1 insertions, 7 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index e99747819..c3a62c2d9 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -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: diff --git a/spec/helpers/application_helper_spec.rb b/spec/helpers/application_helper_spec.rb index b335a5e45..6502cfebf 100644 --- a/spec/helpers/application_helper_spec.rb +++ b/spec/helpers/application_helper_spec.rb @@ -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 |