Skip to content

Commit

Permalink
bump to unpromisify 0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jamestalmage committed Jun 27, 2015
1 parent 8f12839 commit 239923b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -29,6 +29,6 @@
},
"dependencies": {
"duration-parser": "^1.0.0",
"unpromisify": "^0.1.2"
"unpromisify": "^0.2.0"
}
}
5 changes: 2 additions & 3 deletions test/expired-test.js
Expand Up @@ -3,13 +3,12 @@ describe('expired', function(){
var expired = require('..');
var Promise = require('bluebird');
var unpromisify = require('unpromisify');
var oldScheduler, oldScheduler2;
var chai = require('chai');
var expect = chai.expect;
var sinon = require('sinon');
chai.use(require('sinon-chai'));

var clock, fetch, cbs, cb1, cb2, cb3, cb4, error;
var clock, oldScheduler, oldScheduler2, fetch, cbs, cb1, cb2, cb3, cb4, error;

beforeEach(function(){
cbs = [];
Expand Down Expand Up @@ -479,7 +478,7 @@ describe('expired', function(){
var resource = expired(fetch);
resource(cb1);
clock.tick();
cbs[0](null, {result:'a', expires:'Thu, 01 Jan 1970 00:00:01 GMT'})
cbs[0](null, {result:'a', expires:'Thu, 01 Jan 1970 00:00:01 GMT'});
clock.tick(999);
resource(cb2);
clock.tick();
Expand Down

0 comments on commit 239923b

Please sign in to comment.