Fix RSpec/ContextWording cop (#24739)
This commit is contained in:
parent
cf18cc2891
commit
710745e16b
105 changed files with 559 additions and 668 deletions
|
@ -40,7 +40,7 @@ RSpec.describe LinkDetailsExtractor do
|
|||
context 'when structured data is present' do
|
||||
let(:original_url) { 'https://example.com/page.html' }
|
||||
|
||||
context 'and is wrapped in CDATA tags' do
|
||||
context 'when is wrapped in CDATA tags' do
|
||||
let(:html) { <<~HTML }
|
||||
<!doctype html>
|
||||
<html>
|
||||
|
@ -79,7 +79,7 @@ RSpec.describe LinkDetailsExtractor do
|
|||
end
|
||||
end
|
||||
|
||||
context 'but the first tag is invalid JSON' do
|
||||
context 'with the first tag is invalid JSON' do
|
||||
let(:html) { <<~HTML }
|
||||
<!doctype html>
|
||||
<html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue