cli moving to a phonegap folder, local to the proj and tests

This commit is contained in:
brianleroux
2011-09-01 14:34:11 -07:00
parent e7f206b598
commit d34dcf8ee5
14 changed files with 22 additions and 7 deletions
+13 -2
View File
@@ -1,6 +1,6 @@
util = require('util')
util = require 'util'
exec = require('child_process').exec
path = require 'path'
exports['default example project is generated'] = (test) ->
test.expect 1
@@ -8,3 +8,14 @@ exports['default example project is generated'] = (test) ->
test.ok true, "this assertion should pass" unless error?
test.done()
exports['default example project has a ./.phonegap folder'] = (test) ->
test.expect 1
path.exists './example/.phonegap', (exists) ->
test.ok exists, 'the phonegap folder exists'
test.done()
exports['default example project has a /phonegap folder'] = (test) ->
test.expect 1
path.exists './example/phonegap', (exists) ->
test.ok exists, 'the other phonegap folder exists'
test.done()