summaryrefslogtreecommitdiffstats
path: root/js/tests
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-09-11 17:08:04 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-09-11 17:08:04 +0200
commitb4c8934dd3975ba8e5031ecf2f43a2432b7d375f (patch)
tree238cdc745df1929fc6e8c79934f749b8272a4a38 /js/tests
parent7d5da5d6029bfe541c404e69307dc51ac568a13a (diff)
fix line lengths and indention
Diffstat (limited to 'js/tests')
-rw-r--r--js/tests/unit/controller/ContentControllerSpec.js76
1 files changed, 38 insertions, 38 deletions
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', {