Skip to content

Commit

Permalink
Merge pull request #1651 from alphagov/rename-print-isbn
Browse files Browse the repository at this point in the history
Rename "Print ISBN" to "ISBN"
  • Loading branch information
JonathanHallam authored Feb 14, 2020
2 parents 785b774 + 223cd0a commit d4e4d31
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@

<% unless @content_item.isbn.blank? %>
<p>
Print ISBN: <%= @content_item.isbn %>
ISBN: <%= @content_item.isbn %>
</p>
<% end %>
4 changes: 2 additions & 2 deletions test/integration/html_publication_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class HtmlPublicationTest < ActionDispatch::IntegrationTest
assert page.find(".print-meta-data", visible: false)

assert page.has_no_text?("© Crown copyright #{@content_item['details']['public_timestamp'].to_date.year}")
assert page.has_no_text?("Print ISBN: #{@content_item['details']['isbn']}")
assert page.has_no_text?("ISBN: #{@content_item['details']['isbn']}")
end
end

Expand All @@ -41,7 +41,7 @@ class HtmlPublicationTest < ActionDispatch::IntegrationTest
assert page.find(".print-meta-data", visible: true)

assert page.has_text?("© Crown copyright #{@content_item['details']['public_timestamp'].to_date.year}")
assert page.has_text?("Print ISBN: #{@content_item['details']['isbn']}")
assert page.has_text?("ISBN: #{@content_item['details']['isbn']}")
end
end

Expand Down

0 comments on commit d4e4d31

Please sign in to comment.