From ae297920f2c8e65803c2dfbab7512104d227eeac Mon Sep 17 00:00:00 2001 From: Andy Sellick Date: Tue, 5 Jun 2018 08:15:40 +0000 Subject: [PATCH] Remove image expectation from fatality notice test - other builds are failing because this image cannot be loaded in CI. A separate PR exists to remove this image from govuk-content-schemas --- test/integration/fatality_notice_test.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/integration/fatality_notice_test.rb b/test/integration/fatality_notice_test.rb index 6999c7993..a712b8225 100644 --- a/test/integration/fatality_notice_test.rb +++ b/test/integration/fatality_notice_test.rb @@ -40,8 +40,6 @@ class FatalityNoticeTest < ActionDispatch::IntegrationTest 'should have image with ministry-of-defence source with alt text' ) - assert_has_component_govspeak "

Sir George Pomeroy Colley

\"Photograph
Sir George Pomeroy Colley (All rights reserved.)

Colley served nearly all of his military and administrative career in British South Africa, but he played a significant part in the Second Anglo-Afghan War as military secretary and then private secretary to the governor-general of India, Lord Lytton. The war began in November 1878 and ended in May 1879 with the Treaty of Gandamak.

After the war Colley returned to South Africa, became high commissioner for South Eastern Africa in 1880… and died a year later at the Battle of Majuba Hill during the First Boer War.

A british officer had the following to say

Major General Colley was an exceptional talent, and it is with great sadness that we have learned about this loss. His contribution to Britain through his efforts in the Boer War will not be forgotten.

" - within(".content-bottom-margin .app-c-published-dates") do assert page.has_content?("Published 27 February 1881") assert page.has_content?("Last updated 14 September 2016")