Skip to content
This repository has been archived by the owner on May 26, 2019. It is now read-only.

Update model-hook.md #2269

Merged
merged 1 commit into from
Mar 12, 2018
Merged

Update model-hook.md #2269

merged 1 commit into from
Mar 12, 2018

Conversation

algo74
Copy link
Contributor

@algo74 algo74 commented Mar 11, 2018

Test fails if
assert.equal(this.element.querySelectorAll('.results .listing').length, 3, 'should display 3 listings');
because listings are not in an element with class "results"

Test fails if     
assert.equal(this.element.querySelectorAll('.results .listing').length, 3, 'should display 3 listings');
because listings are not in an element with class "results"
Copy link
Member

@jayjayjpg jayjayjpg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to merge from my side 👍

@toddjordan
Copy link
Contributor

according to the example set up in the super rentals repo listing is in results:
image

@algo74
Copy link
Contributor Author

algo74 commented Mar 12, 2018

<ul class="results"> is added in https://guides.emberjs.com/v3.0.0/tutorial/autocomplete-component/
image
the code in https://guides.emberjs.com/v3.0.0/tutorial/model-hook/ doesn't have it yet, but the test is already there.

@toddjordan
Copy link
Contributor

yep you're right. good catch.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants