Skip to content

Commit

Permalink
versioning: adding missing async fixed in PRs #108 and #103 (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jen Weber authored Jul 9, 2018
1 parent 6e435c8 commit c4c5707
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion guides/v3.2.0/tutorial/simple-component.md
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ Finally, let's add our actions and assertions.
In the first test, we just want to verify the output of the component, so we just assert that the title and owner text match what we provided in the fake `rental`.

```javascript {data-filename="tests/integration/components/rental-listing-test.js" data-diff="+3,+4"}
test('should display rental details', function(assert) {
test('should display rental details', async function(assert) {
await render(hbs`{{rental-listing rental=rental}}`);
assert.equal(this.$('.listing h3').text(), 'test-title', 'Title: test-title');
assert.equal(this.$('.listing .owner').text().trim(), 'Owner: test-owner', 'Owner: test-owner');
Expand Down
2 changes: 1 addition & 1 deletion guides/v3.3.0/tutorial/autocomplete-component.md
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ import hbs from 'htmlbars-inline-precompile';
module('Integration | Component | rental-listing', function(hooks) {
setupRenderingTest(hooks);

test('should initially load all listings', function (assert) {
test('should initially load all listings', async function (assert) {
});

test('it renders', async function(assert) {
Expand Down

0 comments on commit c4c5707

Please sign in to comment.