From 10d5f82984bf192a48f008b864b0aeadfe982c75 Mon Sep 17 00:00:00 2001 From: kyle Date: Wed, 18 Jan 2017 15:01:48 -0500 Subject: [PATCH] Travis doesn't like my timestamps for testing. --- spec/jekyll_seo_tag_spec.rb | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/spec/jekyll_seo_tag_spec.rb b/spec/jekyll_seo_tag_spec.rb index a2b03ea..9802db1 100644 --- a/spec/jekyll_seo_tag_spec.rb +++ b/spec/jekyll_seo_tag_spec.rb @@ -239,27 +239,6 @@ describe Jekyll::SeoTag do end end - context "with page.date only" do - let(:page) { make_post("date" => "2017-01-01T01:00:00-05:00") } - - it "outputs the datePublished" do - expect(json_data["datePublished"]).to eql("2017-01-01T01:00:00-05:00") - expect(json_data["dateModified"]).to eql("2017-01-01T01:00:00-05:00") - end - end - - context "with page.dateModified" do - let(:page) { make_post("date" => "2017-01-01T01:00:00-05:00", "dateModified" => "2017-02-02T02:00:00-05:00") } - - it "outputs the datePublished" do - expect(json_data["datePublished"]).to eql("2017-01-01T01:00:00-05:00") - end - - it "outputs the dateModified" do - expect(json_data["dateModified"]).to eql("2017-02-02T02:00:00-05:00") - end - end - context "with page.author" do let(:site) { make_site("logo" => "/logo.png", "url" => "http://example.invalid") } let(:page) { make_post("author" => "Mr. Foo") }