specify timezone in tests
This commit is contained in:
parent
66aff234ca
commit
8a3cd3f9e3
|
@ -97,7 +97,6 @@
|
|||
<meta name="google-site-verification" content="{{ site.google_site_verification }}" />
|
||||
{% endif %}
|
||||
|
||||
|
||||
<script type="application/ld+json">
|
||||
{{ seo_tag.json_ld | jsonify }}
|
||||
</script>
|
||||
|
|
|
@ -243,6 +243,8 @@ RSpec.describe Jekyll::SeoTag::Drop do
|
|||
end
|
||||
|
||||
context "date modified" do
|
||||
let(:config) { { "timezone" => "America/New_York" } }
|
||||
|
||||
context "with seo.date_modified" do
|
||||
let(:page_meta) { { "seo" => { "date_modified" => "2017-01-01" } } }
|
||||
|
||||
|
|
|
@ -15,7 +15,8 @@ RSpec.describe Jekyll::SeoTag::JSONLD do
|
|||
end
|
||||
let(:config) do
|
||||
{
|
||||
"logo" => "logo",
|
||||
"logo" => "logo",
|
||||
"timezone" => "America/New_York",
|
||||
}
|
||||
end
|
||||
let(:page) { make_page(metadata) }
|
||||
|
|
Loading…
Reference in New Issue