Set formatting to show 2 decimal places on Program Purchase button

[LEARNER-2291]
This commit is contained in:
Albert St. Aubin
2017-09-12 14:08:27 -04:00
parent 67a246ad93
commit 9d0a1e80c7
2 changed files with 5 additions and 4 deletions

View File

@@ -571,7 +571,7 @@ define([
expect($(view.$('.upgrade-button.complete-program')).text().trim().
replace(/\s+/g, ' ')).
toEqual(
'Upgrade All Remaining Courses ( $300 USD )'
'Upgrade All Remaining Courses ( $300.00 USD )'
);
});
@@ -592,7 +592,7 @@ define([
expect($(view.$('.upgrade-button.complete-program')).text().trim().
replace(/\s+/g, ' ')).
toEqual(
'Upgrade All Remaining Courses ( $270 $300 USD )'
'Upgrade All Remaining Courses ( $270.00 $300.00 USD )'
);
});