Skip to content

Commit

Permalink
Merge pull request #1873 from rubocop/rubocop-offenses
Browse files Browse the repository at this point in the history
Fix some rubocop offenses
  • Loading branch information
ydah committed Apr 25, 2024
2 parents 863bafa + 8371327 commit 0a7a442
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -90,7 +90,8 @@
RUBY
end

it 'register offense for different example group with similar descriptions' do
it 'registers offense for different example group with ' \
'similar descriptions' do
expect_offense(<<~RUBY)
describe 'Animal' do
^^^^^^^^^^^^^^^^^^^^ Repeated describe block description on line(s) [5]
Expand Down Expand Up @@ -198,7 +199,7 @@
RUBY
end

it 'register offense if same method used in docstring' do
it 'registers offense if same method used in docstring' do
expect_offense(<<~RUBY)
context(description) do
^^^^^^^^^^^^^^^^^^^^^^^ Repeated context block description on line(s) [5]
Expand Down

0 comments on commit 0a7a442

Please sign in to comment.