Sha256: 1546c964077c35fcd8d030dd04e9fc499a012ecc27a34e9a26ccc40a2c24fc7a

Contents?: true

Size: 688 Bytes

Versions: 3

Compression:

Stored size: 688 Bytes

Contents

util = require 'util'
exec = require('child_process').exec
path = require 'path'

exports['default example project is generated'] = (test) ->
  test.expect 1
  exec './bin/create', (error, stdout, stderr) ->
    test.ok true, "this assertion should pass" unless error?
    test.done()

exports['default example project has a ./.cordova folder'] = (test) ->
  test.expect 1
  path.exists './example/.cordova', (exists) ->
    test.ok exists, 'the cordova folder exists'
    test.done()

exports['default example project has a /cordova folder'] = (test) ->
  test.expect 1
  path.exists './example/cordova', (exists) ->
    test.ok exists, 'the other cordova folder exists'
    test.done()

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mobile_template-0.0.3 templates/cordova_android/bin/tests/create.coffee
mobile_template-0.0.2 templates/cordova_android/bin/tests/create.coffee
mobile_template-0.0.1 templates/cordova_android/bin/tests/create.coffee