Skip to content

Commit

Permalink
edit test
Browse files Browse the repository at this point in the history
  • Loading branch information
XadillaX committed Feb 17, 2015
1 parent 642e685 commit c4bb8f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/spidex.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,15 +118,15 @@ describe("Spidex", function() {
}, function() {
// empty
}).on("error", function(err) {
err.message.should.equal("Spidex timeout in 200ms.");
err.message.should.equal("Spidex timeout in 20ms.");
done();
});
});

it("shouldn't call timeout.", function(done) {
var errorOccurred = 0;
this.timeout(5000);
spidex.get("http://zhaofuli.org/", {
spidex.get("http://zhaofulifxxkfxxkfxxkfxxk.org/", {
timeout: 1000
}, function() {
// empty
Expand Down

0 comments on commit c4bb8f2

Please sign in to comment.