Skip to content

Instantly share code, notes, and snippets.

@zakuni
Last active December 18, 2015 07:39
Show Gist options
  • Select an option

  • Save zakuni/5748578 to your computer and use it in GitHub Desktop.

Select an option

Save zakuni/5748578 to your computer and use it in GitHub Desktop.
window.Camera = class Camera
take: ->
# do nothing
var assert = chai.assert;
suite('Camera', function(){
var camera = new Camera();
suite('#Camera', function(){
test('is instance of Camera', function(){
assert.instanceOf(camera, Camera);
});
});
suite('#take()', function(){
test('is function', function(){
assert.isFunction(camera.take);
});
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment