name space tests
This commit is contained in:
@@ -1,18 +1,14 @@
|
||||
import { acceptance } from "helpers/qunit-helpers";
|
||||
import { stubStripe } from "discourse/plugins/discourse-subscriptions/helpers/stripe";
|
||||
|
||||
acceptance("Discourse Patrons", {
|
||||
settings: {
|
||||
discourse_patrons_amounts: "1.00|2.00"
|
||||
},
|
||||
|
||||
acceptance("Discourse Subscriptions", {
|
||||
beforeEach() {
|
||||
stubStripe();
|
||||
}
|
||||
});
|
||||
|
||||
QUnit.skip("viewing the one-off payment page", async assert => {
|
||||
QUnit.test("viewing payment page", async assert => {
|
||||
await visit("/s");
|
||||
|
||||
assert.ok($(".donations-page-payment").length, "has payment form class");
|
||||
assert.ok($("#product-list").length, "has payment page");
|
||||
});
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { acceptance } from "helpers/qunit-helpers";
|
||||
|
||||
acceptance("Discourse Patrons", {
|
||||
acceptance("Discourse Subscriptions", {
|
||||
settings: {
|
||||
discourse_subscriptions_extra_nav_subscribe: true
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { acceptance } from "helpers/qunit-helpers";
|
||||
|
||||
acceptance("Discourse Patrons", {
|
||||
acceptance("Discourse Subscriptions", {
|
||||
settings: {
|
||||
discourse_patrons_subscription_group: "plan-id"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user