calendar/tests/js/unit/services/dialogmodelSpec.js

61 lines
1.5 KiB
JavaScript

/**
* ownCloud - Calendar App
*
* @author Raghu Nayyar
* @author Georg Ehrke
* @copyright 2016 Raghu Nayyar <beingminimal@gmail.com>
* @copyright 2016 Georg Ehrke <oc.list@georgehrke.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
* License as published by the Free Software Foundation; either
* version 3 of the License, or any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
*
* You should have received a copy of the GNU Affero General Public
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*
*/
describe('DialogModel', function() {
'use strict';
var controller, scope, model, http;
beforeEach(module('Calendar'));
beforeEach(inject(function ($controller, $rootScope, $httpBackend,
DialogModel) {
http = $httpBackend;
scope = $rootScope.$new();
model = DialogModel;
controller = $controller;
}
));
it ('should initiate a small model', function () {
});
it ('should initiate a big model', function () {
});
it ('should open a model', function () {
});
it ('should close a model', function () {
});
afterEach(function() {
http.verifyNoOutstandingExpectation();
http.verifyNoOutstandingRequest();
});
});