Add placeholder for Robot
This commit is contained in:
parent
a2786dab48
commit
92c651f6b3
|
@ -0,0 +1,12 @@
|
|||
###
|
||||
* robot
|
||||
* cylonjs.com
|
||||
*
|
||||
* Copyright (c) 2013 The Hybrid Group
|
||||
* Licensed under the Apache 2.0 license.
|
||||
###
|
||||
|
||||
'use strict';
|
||||
|
||||
exports = module.exports = class Robot
|
||||
constructor: (@name) ->
|
|
@ -0,0 +1,12 @@
|
|||
'use strict';
|
||||
|
||||
Robot = source("robot")
|
||||
#robot = require '../dist/robot.js'
|
||||
#Robot = require("#{__dirname}/robot")
|
||||
|
||||
describe "basic tests", ->
|
||||
r = new Robot("irobot")
|
||||
|
||||
it "robot should have a name", ->
|
||||
r.should.have.keys 'name'
|
||||
r.name.should.be.equal 'irobot'
|
Loading…
Reference in New Issue