From b4c8934dd3975ba8e5031ecf2f43a2432b7d375f Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Thu, 11 Sep 2014 17:08:04 +0200 Subject: fix line lengths and indention --- js/tests/unit/controller/ContentControllerSpec.js | 76 +++++++++++------------ 1 file changed, 38 insertions(+), 38 deletions(-) (limited to 'js/tests') diff --git a/js/tests/unit/controller/ContentControllerSpec.js b/js/tests/unit/controller/ContentControllerSpec.js index bdea6e16a..097744083 100644 --- a/js/tests/unit/controller/ContentControllerSpec.js +++ b/js/tests/unit/controller/ContentControllerSpec.js @@ -279,18 +279,18 @@ describe('ContentController', function () { Publisher.subscribe(ItemResource).toChannels(['items']); ItemResource.autoPage = jasmine.createSpy('autoPage') - .andCallFake(function () { - return { - success: function (callback) { - callback({ - 'items': [] - }); - - return { - error: function () {} - }; - } - }; + .andCallFake(function () { + return { + success: function (callback) { + callback({ + 'items': [] + }); + + return { + error: function () {} + }; + } + }; }); var ctrl = $controller('ContentController', { @@ -329,18 +329,18 @@ describe('ContentController', function () { Publisher.subscribe(ItemResource).toChannels(['items']); ItemResource.autoPage = jasmine.createSpy('autoPage') - .andCallFake(function () { - return { - success: function (callback) { - callback({ - 'items': [{items: [{id: 3}]}] - }); - - return { - error: function () {} - }; - } - }; + .andCallFake(function () { + return { + success: function (callback) { + callback({ + 'items': [{items: [{id: 3}]}] + }); + + return { + error: function () {} + }; + } + }; }); var ctrl = $controller('ContentController', { @@ -377,20 +377,20 @@ describe('ContentController', function () { Publisher.subscribe(ItemResource).toChannels(['items']); ItemResource.autoPage = jasmine.createSpy('autoPage') - .andCallFake(function () { - return { - success: function (callback) { - callback({ - 'items': [] - }); - - return { - error: function (callback) { - callback(); - } - }; - } - }; + .andCallFake(function () { + return { + success: function (callback) { + callback({ + 'items': [] + }); + + return { + error: function (callback) { + callback(); + } + }; + } + }; }); var ctrl = $controller('ContentController', { -- cgit v1.2.3