Skip to content

Instantly share code, notes, and snippets.

@alexnodejs
Created September 3, 2013 13:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexnodejs/6423941 to your computer and use it in GitHub Desktop.
Save alexnodejs/6423941 to your computer and use it in GitHub Desktop.
test
/**
* Guidance directive module's unit test spec
*/
describe('guidanceDirective section', function () {
var scope, elm, $compile;
beforeEach(module('guidanceDirective'));
beforeEach(inject(function(_$rootScope_, _$compile_){
$compile = _$compile_;
scope = _$rootScope_;
elm = angular.element('');
$compile(elm)(scope);
scope.$digest();
}));
describe('DOM elements', function () {
it('dummy test case', function () {
expect(true).toBeTruthy();
});
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment