Skip to content

Instantly share code, notes, and snippets.

@Freyert
Created November 12, 2014 23:48
Show Gist options
  • Select an option

  • Save Freyert/f849000859c9ba3e7a74 to your computer and use it in GitHub Desktop.

Select an option

Save Freyert/f849000859c9ba3e7a74 to your computer and use it in GitHub Desktop.
describe('CTRL: Dashboard', function() {
var ctr, scope, module;
beforeEach(function() {
module = angular.module('dashboard');
scope = {};
});
/*beforeEach(inject(function($controller) {
scope = {};
ctrl = $controller("DasboardCtrl", {$scope: scope});
}));*/
it('should have an empty patient stack', inject(function ($controller) {
ctrl = $controller("DashboardCtrl", {$scope: scope});
expect(ctrl.patientStack.length).toBe(0);
}));
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment