pyc-website
main website for pyc inc.
git clone https://9o.is/git/pyc-website.git
App.spec.js
(1381B)
1 describe("App", function() {
2
3 var
4 scope,
5 AtmApplicationCtrl,
6 UserRegistrationCtrl,
7 PasswordRecoveryCtrl,
8 PasswordChangeCtrl,
9 UserLoginCtrl;
10
11 beforeEach(function() {
12 module("app");
13
14 inject(function ($controller, $rootScope) {
15 scope = $rootScope.$new();
16
17 AtmApplicationCtrl = $controller('AtmApplicationCtrl', {$scope: scope});
18 UserRegistrationCtrl = $controller('UserRegistrationCtrl', {$scope: scope});
19 PasswordRecoveryCtrl = $controller('PasswordRecoveryCtrl', {$scope: scope});
20 PasswordChangeCtrl = $controller('PasswordChangeCtrl', {$scope: scope});
21 UserLoginCtrl = $controller('UserLoginCtrl', {$scope: scope});
22 });
23 });
24
25 describe("AtmApplicationCtrl", function() {
26 it("should exist", function() {
27 expect(AtmApplicationCtrl).toBeDefined();
28 });
29 });
30
31 describe("UserRegistrationCtrl", function() {
32 it("should exist", function() {
33 expect(UserRegistrationCtrl).toBeDefined();
34 });
35 });
36
37 describe("PasswordRecoveryCtrl", function() {
38 it("should exist", function() {
39 expect(PasswordRecoveryCtrl).toBeDefined();
40 });
41 });
42
43 describe("PasswordChangeCtrl", function() {
44 it("should exist", function() {
45 expect(PasswordChangeCtrl).toBeDefined();
46 });
47 });
48
49 describe("UserLoginCtrl", function() {
50 it("should exist", function() {
51 expect(UserLoginCtrl).toBeDefined();
52 });
53 });
54 });