1
0
mirror of synced 2026-08-03 13:46:54 +00:00

add the basic form

This commit is contained in:
Rimian Perkins
2019-08-27 22:05:30 +10:00
parent e956551d0f
commit f1de907c32
3 changed files with 51 additions and 6 deletions
@@ -2,10 +2,13 @@ import componentTest from "helpers/component-test";
moduleForComponent("donation-form", { integration: true });
componentTest("donation form", {
componentTest("donation form has content", {
template: `{{donation-form}}`,
test(assert) {
assert.ok(true);
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');
}
});