[pollen] branch develop updated (269a05b -> bd6baae)
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 269a05b Merge branch 'feature/addChoiceInVote' into develop new bd6baae fix poll controller test : rename getChoiceValue to getVoteValue 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 bd6baaeb4f990d6c836221d5bfb5eeedd4da3f6b Author: Adrien Garandel <a.garandel@dralagen.fr> Date: Wed Jul 30 18:06:26 2014 +0200 fix poll controller test : rename getChoiceValue to getVoteValue Summary of changes: .../src/test/unit/pollControllersTest.js | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) -- 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 bd6baaeb4f990d6c836221d5bfb5eeedd4da3f6b Author: Adrien Garandel <a.garandel@dralagen.fr> Date: Wed Jul 30 18:06:26 2014 +0200 fix poll controller test : rename getChoiceValue to getVoteValue --- .../src/test/unit/pollControllersTest.js | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/pollen-ui-angular/src/test/unit/pollControllersTest.js b/pollen-ui-angular/src/test/unit/pollControllersTest.js index 2b843fb..a18a26e 100644 --- a/pollen-ui-angular/src/test/unit/pollControllersTest.js +++ b/pollen-ui-angular/src/test/unit/pollControllersTest.js @@ -51,22 +51,22 @@ describe('Global poll controller', function () { }); }); - it('should get good choiceValue', function () { + it('should get good voteValue', function () { // voteCounting boolean runs(function () { $scope.data.voteCountingType = {renderType:'checkbox'}; - var valueOf1 = $scope.getChoiceValue(1.0); + var valueOf1 = $scope.getVoteValue(1.0); expect(valueOf1).toBeTruthy(); - var valueOf2 = $scope.getChoiceValue(2.0); + var valueOf2 = $scope.getVoteValue(2.0); expect(valueOf2).toBeTruthy(); - var valueOf0 = $scope.getChoiceValue(0.0); + var valueOf0 = $scope.getVoteValue(0.0); expect(valueOf0).toBeFalsy(); - var valueOfTrue = $scope.getChoiceValue(true); + var valueOfTrue = $scope.getVoteValue(true); expect(valueOfTrue).toBeTruthy(); - var valueOfFalse = $scope.getChoiceValue(false); + var valueOfFalse = $scope.getVoteValue(false); expect(valueOfFalse).toBeFalsy(); }); @@ -75,16 +75,16 @@ describe('Global poll controller', function () { runs(function () { $scope.data.voteCountingType = {renderType: 'text'}; - var valueOf1 = $scope.getChoiceValue(1.0); + var valueOf1 = $scope.getVoteValue(1.0); expect(valueOf1).toEqual(1.0); - var valueOf0 = $scope.getChoiceValue(0.0); - expect($scope.getChoiceValue(0.0)).toEqual(0.0); + var valueOf0 = $scope.getVoteValue(0.0); + expect($scope.getVoteValue(0.0)).toEqual(0.0); - var valueOfTrue = $scope.getChoiceValue(true); + var valueOfTrue = $scope.getVoteValue(true); expect(valueOfTrue).toEqual(1.0); - var valueOfFalse = $scope.getChoiceValue(false) + var valueOfFalse = $scope.getVoteValue(false) expect(valueOfFalse).toEqual(0.0); }); -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
participants (1)
-
chorem.org scm