Skip to content

Commit 780ce8e

Browse files
author
Vanita Barrett
committed
Remove publication header component
1 parent 2804eef commit 780ce8e

File tree

5 files changed

+2
-80
lines changed

5 files changed

+2
-80
lines changed

app/assets/stylesheets/components/_publication-header.scss

-11
This file was deleted.

app/views/components/_publication-header.html.erb

-9
This file was deleted.

app/views/components/docs/publication-header.yml

-15
This file was deleted.

test/components/publication_header_test.rb

-43
This file was deleted.

test/integration/html_publication_test.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class HtmlPublicationTest < ActionDispatch::IntegrationTest
88
test "html publications" do
99
setup_and_visit_content_item('published')
1010

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

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

70-
within ".app-c-publication-header" do
70+
within ".gem-c-inverse-header" do
7171
refute page.has_text?("Contents")
7272
end
7373
end

0 commit comments

Comments
 (0)