Files
discourse-subscriptions/test/javascripts/components/donation-form-test.es6
T
2019-08-27 22:05:30 +10:00

15 lines
428 B
JavaScript

import componentTest from "helpers/component-test";
moduleForComponent("donation-form", { integration: true });
componentTest("donation form has content", {
template: `{{donation-form}}`,
async test(assert) {
assert.ok(find('#payment-form').length, 'The form renders');
assert.equal(find('.discourse-donations-cause .selected-name')
.text()
.trim(), 'Select a cause', 'It has the combo box');
}
});