Created
April 12, 2014 21:30
-
-
Save kavitshah8/10557889 to your computer and use it in GitHub Desktop.
JS: EmberUnitTest
This file contains 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
//= require helper | |
describe( 'Object You Are Testing?', function () { | |
var test; | |
beforeEach(function () { | |
initApp(); | |
} ); | |
afterEach(function () { | |
resetApp(); | |
} ); | |
it( 'should do what...', function () { | |
var mock = sinon.mock(test); | |
mock.verify(); | |
mock.restore(); | |
} ); | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment