From 6fb65dad6a7b380edaddee3264da3386a4728cbc Mon Sep 17 00:00:00 2001 From: Mihail Maxacov <0xf013@gmail.com> Date: Thu, 5 Mar 2015 13:49:12 +0200 Subject: [PATCH] hound --- .../controllers/details-tab-overview-controller.js | 8 +++++--- .../controllers/details-tab-overview-controller-test.js | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/frontend/app/work_packages/controllers/details-tab-overview-controller.js b/frontend/app/work_packages/controllers/details-tab-overview-controller.js index f5db8c6e41..15c35ef735 100644 --- a/frontend/app/work_packages/controllers/details-tab-overview-controller.js +++ b/frontend/app/work_packages/controllers/details-tab-overview-controller.js @@ -166,9 +166,11 @@ module.exports = function($scope, })); } - angular.forEach(getCustomProperties($scope.workPackage), function(customProperty) { - this.push(customProperty); - }, otherAttributes); + angular.forEach( + getCustomProperties($scope.workPackage), + function(customProperty) { + this.push(customProperty); + }, otherAttributes); angular.forEach($scope.groupedAttributes, function(group) { var attributesWithValues = []; diff --git a/frontend/tests/unit/tests/work_packages/controllers/details-tab-overview-controller-test.js b/frontend/tests/unit/tests/work_packages/controllers/details-tab-overview-controller-test.js index b3306d2c81..8c13389310 100644 --- a/frontend/tests/unit/tests/work_packages/controllers/details-tab-overview-controller-test.js +++ b/frontend/tests/unit/tests/work_packages/controllers/details-tab-overview-controller-test.js @@ -51,8 +51,8 @@ describe('DetailsTabOverviewController', function() { schema: { props: { customField1: { - type: "Formattable", - name: "color", + type: 'Formattable', + name: 'color', required: false, writable: true },