Last active
December 18, 2015 07:39
-
-
Save zakuni/5748578 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| window.Camera = class Camera | |
| take: -> | |
| # do nothing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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