diff --git a/spec/rubocop/cop/rspec/empty_line_after_hook_spec.rb b/spec/rubocop/cop/rspec/empty_line_after_hook_spec.rb index 49d8bd327..f1ea5eadc 100644 --- a/spec/rubocop/cop/rspec/empty_line_after_hook_spec.rb +++ b/spec/rubocop/cop/rspec/empty_line_after_hook_spec.rb @@ -313,7 +313,7 @@ it_behaves_like 'always require empty line after hook groups' it_behaves_like 'never allows consecutive multiline blocks' - it 'allows multiple one-liner blocks' do + it 'ignores multiple one-liner blocks' do expect_offense(<<~RUBY) RSpec.describe User do before { do_something } @@ -333,7 +333,7 @@ RUBY end - it 'allows multiple one-liner blocks with comments' do + it 'ignores multiple one-liner blocks with comments' do expect_offense(<<~RUBY) RSpec.describe User do before { do_something }