mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-22 21:08:07 +01:00
Autofix Rubocop RSpec/EmptyLineAfterHook (#23718)
This commit is contained in:
parent
81ad6c2e39
commit
e0e63b73ee
2 changed files with 1 additions and 7 deletions
|
@ -825,13 +825,6 @@ RSpec/EmptyExampleGroup:
|
||||||
- 'spec/models/web/setting_spec.rb'
|
- 'spec/models/web/setting_spec.rb'
|
||||||
- 'spec/services/unmute_service_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
|
# Offense count: 19
|
||||||
# This cop supports safe autocorrection (--autocorrect).
|
# This cop supports safe autocorrection (--autocorrect).
|
||||||
RSpec/EmptyLineAfterSubject:
|
RSpec/EmptyLineAfterSubject:
|
||||||
|
|
|
@ -82,6 +82,7 @@ describe ApplicationHelper do
|
||||||
before do
|
before do
|
||||||
allow(helper).to receive(:user_signed_in?).and_return(true)
|
allow(helper).to receive(:user_signed_in?).and_return(true)
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'does not show landing strip' do
|
it 'does not show landing strip' do
|
||||||
expect(helper.show_landing_strip?).to eq false
|
expect(helper.show_landing_strip?).to eq false
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue