Closed algo74 closed 6 years ago
according to the example set up in the super rentals repo listing is in results:
<ul class="results">
is added in https://guides.emberjs.com/v3.0.0/tutorial/autocomplete-component/
the code in https://guides.emberjs.com/v3.0.0/tutorial/model-hook/ doesn't have it yet, but the test is already there.
yep you're right. good catch.
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"