1
0
mirror of synced 2026-08-04 14:16:55 +00:00
This commit is contained in:
Rimian Perkins
2019-10-31 13:31:24 +11:00
parent b0a4665bf4
commit bec2d57920
5 changed files with 14 additions and 15 deletions
+3 -7
View File
@@ -5,8 +5,8 @@ QUnit.module("discourse-patrons:model:plan");
QUnit.test("subscriptionRate", assert => {
const plan = Plan.create({
amount: "2399",
currency: 'aud',
interval: 'month'
currency: "aud",
interval: "month"
});
assert.equal(
@@ -29,9 +29,5 @@ QUnit.test("amountDollars", assert => {
QUnit.test("amount", assert => {
const plan = Plan.create({ amountDollars: "22.12" });
assert.equal(
plan.get("amount"),
2212,
"it returns the cents amount"
);
assert.equal(plan.get("amount"), 2212, "it returns the cents amount");
});