Permalink
Browse files

Fix Cmd tests

  • Loading branch information...
1 parent 29e77df commit 1ddb99541dcba092bd74f54e0415c10bbc622d11 mde committed Apr 30, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 test/cmd.js
View
@@ -10,13 +10,13 @@ tests = {
}
, 'Cmd parseArgs gen app --jade': function () {
- var c = new Cmd(['app', 'foo'], {jade: true});
+ var c = new Cmd(['app', 'foo', '--jade']);
assert.equal('gen:app[foo,jade,default]', c.jakeTaskName);
}
, 'Cmd parseArgs gen scaffold zooby foo bar --realtime': function () {
- var c = new Cmd(['scaffold', 'zooby', 'foo:int', 'bar:string'],
- {realtime: true});
+ var c = new Cmd(['scaffold', 'zooby', 'foo:int', 'bar:string',
+ '--realtime']);
assert.equal('gen:scaffold[zooby,foo:int%bar:string,default,realtime]',
c.jakeTaskName);
}

0 comments on commit 1ddb995

Please sign in to comment.