Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

Commit

Permalink
Try to reduce time between feed expected date and feed generation
Browse files Browse the repository at this point in the history
  • Loading branch information
MoOx committed Feb 15, 2016
1 parent 0eefa44 commit b691e98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/md-collection-loader/__tests__/feed.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import feed from "../feed"

test("statinamic/lib/md-collection-loader feed helper", (t) => {

const now = (new Date()).toUTCString()
const feedXML = feed({
feedOptions: {
title: "test",
Expand Down Expand Up @@ -38,7 +39,7 @@ test("statinamic/lib/md-collection-loader feed helper", (t) => {
<description><![CDATA[test]]></description>
<link>http://statinamic.test/</link>
<generator>RSS for Node</generator>
<lastBuildDate>${ (new Date()).toUTCString() }</lastBuildDate>
<lastBuildDate>${ now }</lastBuildDate>
<atom:link href="http://statinamic.test/feed.xml" rel="self" type="application/rss+xml"/>
<item>
<title><![CDATA[One]]></title>
Expand Down

0 comments on commit b691e98

Please sign in to comment.