Skip to content

Commit

Permalink
fix some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
egueli committed Jul 26, 2015
1 parent c2a9e10 commit b01769e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/flux-core.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ vows.describe('Flux Core (Mock Provider)').addBatch({
},

'should only be one result': function(err, results) {
assert.isTrue(Object.keys(results) == 1);
assert.equal(Object.keys(results).length, 1);
},

'should have locate result structure': function(err, results) {
Expand Down
2 changes: 1 addition & 1 deletion test/torrentz-provider.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ vows.describe('Flux Core (Torrentz provider)').addBatch({
topic: function() {
var self = this;
flux.search('ubuntu', function(err, torrents) {
flux.source('1337x.org', torrents[0], self.callback);
flux.source('1337x.to', torrents[0], self.callback);
});
},

Expand Down

0 comments on commit b01769e

Please sign in to comment.