Skip to content

Commit

Permalink
style(uiMoneyMask): change double quotes to single quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
assisrafael committed Jun 26, 2016
1 parent 2392034 commit 9df19e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/global/money/money.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ describe('ui-money-mask', function() {
it('shold allow string as definition of decimals', angular.mock.inject(function($rootScope) {
var input = TestUtil.compile('<input ng-model="model" ui-money-mask="decimals">', {
model: '3456.79',
decimals: "2"
decimals: '2'
});

var model = input.controller('ngModel');
expect(model.$viewValue).toBe('$ 3,456.79');
$rootScope.decimals = "3";
$rootScope.decimals = '3';
$rootScope.$digest();
expect(model.$viewValue).toBe('$ 345.679');
}));
Expand Down

0 comments on commit 9df19e8

Please sign in to comment.