Skip to content

Commit

Permalink
WIP adjust test case for simplified input
Browse files Browse the repository at this point in the history
  • Loading branch information
KludgeKML committed Oct 22, 2024
1 parent 8e5bad7 commit 38d99a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/integration/document_synchronization_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@
title: "Landing Page Fixture",
url: "https://www.gov.uk/landing-page/search-test",
},
content: a_string_including("Landing Page Fixture\nThis is a test of whether contents from the body of a landing page get into the search engine.\n<h2 id=\"this-is-a-heading-from-govspeak\">This is a heading from Govspeak</h2>\n\n<p>Lorem ipsum…</p>\n\n## This is a heading from Govspeak\n\nLorem ipsum...\n\n<h2 id=\"this-is-a-heading-from-govspeak\">This is a heading from Govspeak</h2>\n\n<p>Lorem ipsum…</p>\n\n<h2>Title of the content</h2>\n<p>Lorem ipsum dolor sit amet. In voluptas dolorum vel veniam nisi et voluptate dolores id voluptatem distinctio. Et quia accusantium At ducimus quis aut voluptates iusto aut esse suscipit.</p>\n\n<h2>Here's a heading</h2>\n<p>Here's some content!</p>\n<p>Here's some more content</p>\n<ul>\n <li>What?</li>\n <li>When?</li>\n</ul>\n<a href=\"/landing-page/sub-page-1\">Visit sub-page 1</a>\n\nHere's the content for item one\nHere's the content for item two\n<p>Here's some more content!</p>\n<p>Look ma! No right column!</p>\n<a href=\"https://www.youtube.com/watch?v=dQw4w9WgXcQ\" class=\"govuk-link\">https://www.youtube.com/watch?v=dQw4w9WgXcQ</a>\n<p>Right content!</p>\n<h2>Statistics</h2>\n<h2><a href=\"http://gov.uk\">Title 1 govspeak title goes here</a></h2>\n<h2><a href=\"http://gov.uk\">Title 2 govspeak title goes here</a></h2>\n<h2><a href=\"http://gov.uk\">Title 3 govspeak title</a></h2>\n<h2><a href=\"http://gov.uk\">Title 1 govspeak title goes here</a></h2>\n<h2><a href=\"http://gov.uk\">Title 2 govspeak title goes here</a></h2>"),
content: a_string_including("Landing Page Fixture\nThis is a test of whether contents from the body of a landing page get into the search engine.\nMy Header\n<h2>Only Once</h2>"),
payload_version: 12_345,
)
expect(put_service).to have_received(:call)
Expand Down

0 comments on commit 38d99a7

Please sign in to comment.