We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2392034 commit 9df19e8Copy full SHA for 9df19e8
src/global/money/money.test.js
@@ -70,12 +70,12 @@ describe('ui-money-mask', function() {
70
it('shold allow string as definition of decimals', angular.mock.inject(function($rootScope) {
71
var input = TestUtil.compile('<input ng-model="model" ui-money-mask="decimals">', {
72
model: '3456.79',
73
- decimals: "2"
+ decimals: '2'
74
});
75
76
var model = input.controller('ngModel');
77
expect(model.$viewValue).toBe('$ 3,456.79');
78
- $rootScope.decimals = "3";
+ $rootScope.decimals = '3';
79
$rootScope.$digest();
80
expect(model.$viewValue).toBe('$ 345.679');
81
}));
0 commit comments