Skip to content

Commit

Permalink
Merge pull request #872 from alphagov/move-content-id-meta-tag-to-com…
Browse files Browse the repository at this point in the history
…ponent

Move content id meta tag
  • Loading branch information
MatMoore authored Apr 11, 2018
2 parents 39ce4bf + 6bb1f20 commit 511e552
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 33 deletions.
1 change: 0 additions & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
<% if @content_item.description %>
<meta name="description" content="<%= strip_tags(@content_item.description) %>" />
<% end %>
<meta name="govuk:content-id" content="<%= @content_item.content_id %>" />
<%= contextual_comms_test_variant.analytics_meta_tag.html_safe if whitelisted_campaign_page? %>
<%= yield :extra_head_content %>
</head>
Expand Down
28 changes: 0 additions & 28 deletions test/integration/content_item_test.rb

This file was deleted.

4 changes: 0 additions & 4 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,6 @@ def assert_footer_has_published_dates(published = nil, last_updated = nil, histo
assert_has_published_dates(published, last_updated, history_link, 1)
end

def has_component_metadata(key, value)
assert page.has_css? "meta[#{key}=\"#{value}\"]", visible: false
end

def setup_and_visit_content_item(name, parameter_string = '')
@content_item = get_content_example(name).tap do |item|
content_store_has_item(item["base_path"], item.to_json)
Expand Down

0 comments on commit 511e552

Please sign in to comment.