Skip to content

Commit

Permalink
Remove publication header component
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanita Barrett committed Mar 26, 2018
1 parent 2804eef commit 780ce8e
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 80 deletions.
11 changes: 0 additions & 11 deletions app/assets/stylesheets/components/_publication-header.scss

This file was deleted.

9 changes: 0 additions & 9 deletions app/views/components/_publication-header.html.erb

This file was deleted.

15 changes: 0 additions & 15 deletions app/views/components/docs/publication-header.yml

This file was deleted.

43 changes: 0 additions & 43 deletions test/components/publication_header_test.rb

This file was deleted.

4 changes: 2 additions & 2 deletions test/integration/html_publication_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class HtmlPublicationTest < ActionDispatch::IntegrationTest
test "html publications" do
setup_and_visit_content_item('published')

within ".app-c-publication-header" do
within ".gem-c-inverse-header" do
assert page.has_text?(@content_item["details"]["format_sub_type"])
assert page.has_text?(@content_item["title"])

Expand Down Expand Up @@ -67,7 +67,7 @@ class HtmlPublicationTest < ActionDispatch::IntegrationTest
test "no contents are shown when headings are an empty list" do
setup_and_visit_content_item("prime_ministers_office")

within ".app-c-publication-header" do
within ".gem-c-inverse-header" do
refute page.has_text?("Contents")
end
end
Expand Down

0 comments on commit 780ce8e

Please sign in to comment.