Skip to content

Instantly share code, notes, and snippets.

@kavitshah8
Created April 12, 2014 21:30
Show Gist options
  • Save kavitshah8/10557889 to your computer and use it in GitHub Desktop.
Save kavitshah8/10557889 to your computer and use it in GitHub Desktop.
JS: EmberUnitTest
//= 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