Skip to content

Commit

Permalink
No longer display the Article 50 banner
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosa-Fox committed Apr 21, 2017
1 parent 2bda3f3 commit e3c61dd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
11 changes: 0 additions & 11 deletions app/views/root/_promo_banner.html.erb
Original file line number Diff line number Diff line change
@@ -1,11 +0,0 @@
<!--[if gt IE 7]><!-->
<div id="global-bar" data-module="global-bar" class="dont-print">
<div class="global-bar-message-container">
<p class="global-bar-message">The government has published its plan for the UK leaving the EU. <a href="https://www.planforbritain.gov.uk" rel="external noreferrer">Read about the Plan for Britain</a>.</p>
<a href="#hide-message"
class="dismiss"
role="button"
aria-controls="global-bar">Hide&nbsp;message</a>
</div>
</div>
<!--<![endif]-->
7 changes: 0 additions & 7 deletions test/integration/notifications_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e3c61dd

Please sign in to comment.