From e3c61ddf76da075a649605879fa123716c7c65a7 Mon Sep 17 00:00:00 2001 From: Rosa Fox Date: Thu, 20 Apr 2017 13:34:14 +0000 Subject: [PATCH] No longer display the Article 50 banner --- app/views/root/_promo_banner.html.erb | 11 ----------- test/integration/notifications_test.rb | 7 ------- 2 files changed, 18 deletions(-) diff --git a/app/views/root/_promo_banner.html.erb b/app/views/root/_promo_banner.html.erb index 2af05b160..e69de29bb 100644 --- a/app/views/root/_promo_banner.html.erb +++ b/app/views/root/_promo_banner.html.erb @@ -1,11 +0,0 @@ - -
-
-

The government has published its plan for the UK leaving the EU. Read about the Plan for Britain.

- Hide message -
-
- diff --git a/test/integration/notifications_test.rb b/test/integration/notifications_test.rb index be47284e8..34d6e77a5 100644 --- a/test/integration/notifications_test.rb +++ b/test/integration/notifications_test.rb @@ -132,13 +132,6 @@ class NotificationsTest < ActionDispatch::IntegrationTest refute page.has_selector? ".global-bar-message" end - - should "display if the Emergency Banner is not enabled" do - EmergencyBanner::Display.any_instance.stubs(:enabled?).returns(false) - visit "/templates/wrapper.html.erb" - - assert page.has_selector? ".global-bar-message" - end end context "banner files" do