From 5d7dfea810da041c9f7c0cabb44f61724d7396be Mon Sep 17 00:00:00 2001 From: Kristoffer Walker Date: Thu, 27 Oct 2016 07:09:38 -0400 Subject: [PATCH] Adds pending tests for Viewer Controllers. new file: spec/services/identity/controllers/identity-viewer-controller-spec.js new file: spec/services/identity/controllers/identity-viewers-list-controller-spec.js --- .../identity-viewer-controller-spec.js | 35 +++++++++++++++++++ .../identity-viewers-list-controller-spec.js | 26 ++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 spec/services/identity/controllers/identity-viewer-controller-spec.js create mode 100644 spec/services/identity/controllers/identity-viewers-list-controller-spec.js diff --git a/spec/services/identity/controllers/identity-viewer-controller-spec.js b/spec/services/identity/controllers/identity-viewer-controller-spec.js new file mode 100644 index 0000000..452941b --- /dev/null +++ b/spec/services/identity/controllers/identity-viewer-controller-spec.js @@ -0,0 +1,35 @@ +/* global describe, it */ +/* eslint prefer-arrow-callback: 0 */ +/* eslint-disable max-nested-callbacks */ +'use strict'; + +// Reference identity-item-controller-spec.js and identity-channel-controller-spec.js + +describe('Identity Viewer Controller', function () { + describe('GET', function () { + describe('as platform', function () { + it('needs to be tested'); + }); + describe('as admin', function () { + it('needs to be tested'); + }); + }); + + describe('PATCH', function () { + describe('as platform', function () { + it('needs to be tested'); + }); + describe('as admin', function () { + it('needs to be tested'); + }); + }); + + describe('DELETE', function () { + describe('as platform', function () { + it('needs to be tested'); + }); + describe('as admin', function () { + it('needs to be tested'); + }); + }); +}); diff --git a/spec/services/identity/controllers/identity-viewers-list-controller-spec.js b/spec/services/identity/controllers/identity-viewers-list-controller-spec.js new file mode 100644 index 0000000..c8d3601 --- /dev/null +++ b/spec/services/identity/controllers/identity-viewers-list-controller-spec.js @@ -0,0 +1,26 @@ +/* global describe, it */ +/* eslint prefer-arrow-callback: 0 */ +/* eslint-disable max-nested-callbacks */ +'use strict'; + +// Reference identity-list-controller-spec.js and identity-channels-list-controller-spec.js + +describe('Identity Viewers List Controller', function () { + describe('GET', function () { + describe('as platform', function () { + it('needs to be tested'); + }); + describe('as admin', function () { + it('needs to be tested'); + }); + }); + + describe('POST', function () { + describe('as platform', function () { + it('needs to be tested'); + }); + describe('as admin', function () { + it('needs to be tested'); + }); + }); +});