Feed syncing (#1044)

Closes #1036

Also:

- Store sync info for feeds more compactly. Address #1037
This commit is contained in:
Adomas Ven 2016-06-22 10:24:22 +03:00 committed by Dan Stillman
parent 451c12513e
commit dd8fd2b1ac
7 changed files with 112 additions and 52 deletions

View file

@ -47,14 +47,6 @@ describe("Zotero.Feeds", function () {
var json = {};
var expiredFeedURL, existingFeedURL;
before(function() {
sinon.stub(Zotero.Feed.prototype, 'updateFeed').resolves();
});
after(function() {
Zotero.Feed.prototype.updateFeed.restore();
});
beforeEach(function* () {
yield clearFeeds();
@ -65,7 +57,6 @@ describe("Zotero.Feeds", function () {
name: Zotero.Utilities.randomString(),
refreshInterval: 5,
cleanupAfter: 3,
markedAsRead: []
};
if (i == 0) {
existingFeedURL = url;