branch develop updated (9d2a50b -> 78a171e)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository pollen. See http://git.chorem.org/pollen.git from 9d2a50b fixes #1160 Add poll title in the page title new 78a171e fix lame test (test the edit poll page without providing a poll...) The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit 78a171ee328bd3f75f9fc6ff087a3b6aaefc3434 Author: Kevin Morin <morin@codelutin.com> Date: Fri Jan 30 17:51:14 2015 +0100 fix lame test (test the edit poll page without providing a poll...) Summary of changes: pollen-ui-angular/src/test/unit/pollControllersTest.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository pollen. See http://git.chorem.org/pollen.git commit 78a171ee328bd3f75f9fc6ff087a3b6aaefc3434 Author: Kevin Morin <morin@codelutin.com> Date: Fri Jan 30 17:51:14 2015 +0100 fix lame test (test the edit poll page without providing a poll...) --- pollen-ui-angular/src/test/unit/pollControllersTest.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pollen-ui-angular/src/test/unit/pollControllersTest.js b/pollen-ui-angular/src/test/unit/pollControllersTest.js index 3ec9bc3..465e0a6 100644 --- a/pollen-ui-angular/src/test/unit/pollControllersTest.js +++ b/pollen-ui-angular/src/test/unit/pollControllersTest.js @@ -311,6 +311,7 @@ describe('Edit poll controller', function () { beforeEach(module('pollControllers')); beforeEach(inject(function($controller) { $controller('PollCtrl', {$scope: $scope}); + $scope.data = { poll: { title: "test" } }; ctrl = $controller('PollEditCtrl', {$scope:$scope}); })); @@ -325,7 +326,7 @@ describe('Edit poll controller', function () { expect($scope.globalVariables.editMode).toBeTruthy(); }); - it('should detect is member is empty', function () { + it('should detect if member is empty', function () { var member, isEmpty; // is empty @@ -369,6 +370,7 @@ describe('Vote poll controller', function () { beforeEach(module('pollControllers')); beforeEach(inject(function($controller) { $controller('PollCtrl', {$scope: $scope}); + $scope.data = { poll: { title: "test" } }; ctrl = $controller('PollVoteCtrl', {$scope:$scope}); // not limited number of choice (default) @@ -429,6 +431,7 @@ describe('Poll comment controller', function () { beforeEach(module('pollControllers')); beforeEach(inject(function($controller) { $controller('PollCtrl', {$scope: $scope}); + $scope.data = { poll: { title: "test" } }; ctrl = $controller('PollCommentCtrl', {$scope:$scope}); })); @@ -485,6 +488,7 @@ describe('Poll result controller', function () { beforeEach(module('pollControllers')); beforeEach(inject(function($controller) { $controller('PollCtrl', {$scope: $scope}); + $scope.data = { poll: { title: "test" } }; ctrl = $controller('PollResultCtrl', {$scope:$scope}); })); -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
participants (1)
-
chorem.org scm