discourse-subscriptions/test/javascripts/acceptance/payments-test.js.es6

19 lines
448 B
Plaintext
Raw Normal View History

2019-10-08 20:53:58 -04:00
import { acceptance } from "helpers/qunit-helpers";
import { stubStripe } from "discourse/plugins/discourse-patrons/helpers/stripe";
acceptance("Discourse Patrons", {
settings: {
discourse_patrons_amounts: "1.00|2.00"
},
beforeEach() {
stubStripe();
}
});
2019-11-06 21:17:54 -05:00
QUnit.skip("viewing the one-off payment page", async assert => {
2019-10-08 20:53:58 -04:00
await visit("/patrons");
assert.ok($(".donations-page-payment").length, "has payment form class");
});