Add proposal form

Closes #6

Form can be prefilled using query params on the route. The params are
`recipient`, `amount`, `url` and `ipfsHash`.
This commit is contained in:
2017-05-03 11:50:05 +02:00
parent e6740d9b4f
commit 969ef8d1ed
14 changed files with 232 additions and 1 deletions
@@ -0,0 +1,16 @@
import { moduleForComponent, test } from 'ember-qunit';
import hbs from 'htmlbars-inline-precompile';
moduleForComponent('add-proposal', 'Integration | Component | add proposal', {
integration: true
});
test('it renders', function(assert) {
// Set any properties with this.set('myProperty', 'value');
// Handle any actions with this.on('myAction', function(val) { ... });
this.render(hbs`{{add-proposal}}`);
assert.equal(this.$('.actions a').text().trim(), 'Back');
});