test/test_helper.rb
# Make the Capybara DSL available in all integration tests
Make the Capybara DSL available in all integration tests
Make the Capybara DSL available in all integration tests
def brexit_body_content
    '<div class="govspeak">'\
    '<h2 id="travel-to-the-eu">Travel to the EU</h2>\n \n'\
    '<ul>\n'\
    '<li><a rel="external" href="https://www.gov.uk/foreign-travel-advice" '\
    'class="govuk-link">Foreign travel advice</a></li>\n'\
    '<li><a rel="external" href="https://www.gov.uk/visit-eu"'\
    'class="govuk-link">Travelling to the EU'\
    '</a></li>\n</ul>\n'\
    '<h2 id="travel-to-the-uk">Travel to the UK</h2>\n \n'\
    '<ul>\n'\
    '<li><a rel="external" href="https://www.gov.uk/local-travel-advice" '\
    'class="govuk-link">Local travel advice</a></li>\n'\
    '<li><a rel="external" href="https://www.gov.uk/visit-uk"'\
    'class="govuk-link">Travelling to the UK'\
    '</a></li>\n</ul>\n'\
    "</div>"
  end
def brexit_body_content '<div class="govspeak">' '<h2 id="travel-to-the-eu">Travel to the EU</h2>\n \n' '<ul>\n' '<li><a rel="external" href="https://www.gov.uk/foreign-travel-advice" ' 'class="govuk-link">Foreign travel advice</a></li>\n' '<li><a rel="external" href="https://www.gov.uk/visit-eu"' 'class="govuk-link">Travelling to the EU' '</a></li>\n</ul>\n' '<h2 id="travel-to-the-uk">Travel to the UK</h2>\n \n' '<ul>\n' '<li><a rel="external" href="https://www.gov.uk/local-travel-advice" ' 'class="govuk-link">Local travel advice</a></li>\n' '<li><a rel="external" href="https://www.gov.uk/visit-uk"' 'class="govuk-link">Travelling to the UK' '</a></li>\n</ul>\n' "</div>" end
Make the Capybara DSL available in all integration tests
Make the Capybara DSL available in all integration tests