Introduce budget, reimbursements for expenses #195

Merged
raucao merged 57 commits from feature/expenses into master 2021-06-03 14:23:45 +00:00
4 changed files with 9 additions and 13 deletions
Showing only changes of commit 52172ea065 - Show all commits
@@ -0,0 +1,8 @@
import Component from '@glimmer/component';
import { inject as service } from '@ember/service';
export default class AddReimbursementComponent extends Component {
@service kredits;
}
@@ -1 +0,0 @@
{{yield}}
+1 -1
View File
@@ -2,7 +2,7 @@
<section id="add-item">
<header>
<h2>Submit a reimbursement</h2>
<h2>Submit a Reimbursement</h2>
</header>
<div class="content">
@@ -9,18 +9,7 @@ module('Integration | Component | add-reimbursement', function(hooks) {
test('it renders', async function(assert) {
// Set any properties with this.set('myProperty', 'value');
// Handle any actions with this.set('myAction', function(val) { ... });
await render(hbs`<AddReimbursement />`);
assert.equal(this.element.textContent.trim(), '');
// Template block usage:
await render(hbs`
<AddReimbursement>
template block text
</AddReimbursement>
`);
assert.equal(this.element.textContent.trim(), 'template block text');
});
});