Skip to content
This repository
Browse code

moar expect.js

  • Loading branch information...
commit 587d699ab55e4cc11adb5345c8fb44324a74a83e 1 parent d2c68e5
TJ Holowaychuk authored

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. +3 3 test/stringify.js
6 test/stringify.js
@@ -3,8 +3,8 @@
3 3 * Module dependencies.
4 4 */
5 5
6   -var qs = require('../');
7   -
  6 +var qs = require('../')
  7 + , expect = require('expect.js');
8 8
9 9 var str_identities = {
10 10 'basics': [
@@ -60,7 +60,7 @@ function test(type) {
60 60 for (var i = 0; i < str_identities[type].length; i++) {
61 61 str = str_identities[type][i].str;
62 62 obj = str_identities[type][i].obj;
63   - qs.stringify(obj).should.eql(str);
  63 + expect(qs.stringify(obj)).to.eql(str);
64 64 }
65 65 }
66 66 }

0 comments on commit 587d699

Please sign in to comment.
Something went wrong with that request. Please try again.