Skip to content

Instantly share code, notes, and snippets.

@ccit-spence
Created March 20, 2014 07:58
Show Gist options
  • Save ccit-spence/9659220 to your computer and use it in GitHub Desktop.
Save ccit-spence/9659220 to your computer and use it in GitHub Desktop.
(function () {
"use strict";
describe('indexController', function() {
beforeEach(module('my-module'));
var scope, ctrl;
beforeEach(inject(function($rootScope, $controller) {
scope = $rootScope.$new();
ctrl = $controller('indexController', {$scope: scope});
}));
it('should ...', inject(function() {
expect(1).toEqual(1);
}));
});
}());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment