Skip to content

Commit

Permalink
yoda
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Oct 23, 2012
1 parent 1a6b8b3 commit ec36c10
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/index.js
Expand Up @@ -50,10 +50,10 @@ describe('Client#methods(fn)', function(){
it('should respond with available methods', function(done){
client.methods(function(err, methods){
assert(!err);
assert(methods.add.name == 'add');
assert(methods.add.params[0] == 'a');
assert(methods.add.params[1] == 'b');
assert(methods.add.params[2] == 'fn');
assert('add' == methods.add.name);
assert('a' == methods.add.params[0]);
assert('b' == methods.add.params[1]);
assert('fn' == methods.add.params[2]);
assert(methods.uppercase);
done();
});
Expand Down

0 comments on commit ec36c10

Please sign in to comment.