Remove all proposal-related code
We're not using proposals at the moment, so it's just in the way.
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
import { module, test } from 'qunit';
|
||||
import { setupRenderingTest } from 'ember-qunit';
|
||||
import { render } from '@ember/test-helpers';
|
||||
import hbs from 'htmlbars-inline-precompile';
|
||||
|
||||
module('Integration | Component | add proposal', function(hooks) {
|
||||
setupRenderingTest(hooks);
|
||||
|
||||
test('it renders', async function(assert) {
|
||||
|
||||
// Set any properties with this.set('myProperty', 'value');
|
||||
// Handle any actions with this.on('myAction', function(val) { ... });
|
||||
|
||||
await render(hbs`{{add-proposal}}`);
|
||||
|
||||
assert.dom('.actions a').hasText('Back');
|
||||
});
|
||||
});
|
||||
@@ -6,7 +6,7 @@ import hbs from 'htmlbars-inline-precompile';
|
||||
module('Integration | Component | chart-contributions-by-type', function(hooks) {
|
||||
setupRenderingTest(hooks);
|
||||
|
||||
let proposals = [
|
||||
let contributions = [
|
||||
{ kind: 'dev', amount: 500 },
|
||||
{ kind: 'dev', amount: 1500 },
|
||||
{ kind: 'ops', amount: 1500 },
|
||||
@@ -20,9 +20,9 @@ module('Integration | Component | chart-contributions-by-type', function(hooks)
|
||||
];
|
||||
|
||||
test('it renders', async function(assert) {
|
||||
this.set('proposals', proposals);
|
||||
this.set('contributions', contributions);
|
||||
|
||||
await render(hbs`{{chart-contributions-by-type contributions=proposals}}`);
|
||||
await render(hbs`{{chart-contributions-by-type contributions=contributions}}`);
|
||||
|
||||
assert.dom(this.element).hasText('');
|
||||
});
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
import { module, test } from 'qunit';
|
||||
import { setupRenderingTest } from 'ember-qunit';
|
||||
import { render } from '@ember/test-helpers';
|
||||
import hbs from 'htmlbars-inline-precompile';
|
||||
|
||||
module('Integration | Component | proposal list', function(hooks) {
|
||||
setupRenderingTest(hooks);
|
||||
|
||||
test('it renders', async function(assert) {
|
||||
|
||||
// Set any properties with this.set('myProperty', 'value');
|
||||
// Handle any actions with this.on('myAction', function(val) { ... });
|
||||
|
||||
await render(hbs`{{proposal-list}}`);
|
||||
|
||||
assert.dom('*').hasText('');
|
||||
});
|
||||
});
|
||||
@@ -1,12 +0,0 @@
|
||||
import { module, test } from 'qunit';
|
||||
import { setupTest } from 'ember-qunit';
|
||||
|
||||
module('Unit | Controller | proposals/new', function(hooks) {
|
||||
setupTest(hooks);
|
||||
|
||||
// Replace this with your real tests.
|
||||
test('it exists', function(assert) {
|
||||
let controller = this.owner.lookup('controller:proposals/new');
|
||||
assert.ok(controller);
|
||||
});
|
||||
});
|
||||
@@ -1,8 +0,0 @@
|
||||
// import { moduleFor, test } from 'ember-qunit';
|
||||
//
|
||||
// moduleFor('model:proposal', 'Unit | Model | proposal');
|
||||
//
|
||||
// test('contributor relation', function(assert) {
|
||||
// // TODO: Test contributor relation
|
||||
// assert.ok(true);
|
||||
// });
|
||||
Reference in New Issue
Block a user