Browse Source

removed test since we dont have hidden headers for non support users

pull/641/head
JG 3 years ago
parent
commit
b4b1145674
  1. 5
      spec/requests/organisations_controller_spec.rb

5
spec/requests/organisations_controller_spec.rb

@ -84,11 +84,6 @@ RSpec.describe OrganisationsController, type: :request do
expect(response.body).to include(organisation.name)
end
it "has a hidden header title" do
expected_html = "<h2 class=\"govuk-visually-hidden\"> Details"
expect(response.body).to include(expected_html)
end
it "has a change details link" do
expected_html = "data-qa=\"change-name\" href=\"/organisations/#{organisation.id}/edit\""
expect(response.body).to include(expected_html)

Loading…
Cancel
Save