Testing Error
Otolock opened this issue · 1 comments
Otolock commented
Following the tutorial, the code on this section is giving me an error:
https://guides.emberjs.com/v2.9.0/tutorial/routes-and-templates/#toc_an-index-route
I wrote the code initially but when I noticed the error I copy and pasted it just to be sure. By the end of this section of the tutorial, the test Acceptance | list rentals: should redirect to rentals route
should be passing, but it is not. The test logs the following error:
Expected: "rentals"
Result: "/rentals"
Diff: "/rentals"
I've tried changing the assertion to expect "/rentals" but it remains expecting "rentals".
Otolock commented
I found I had made a mistake while writing my acceptance tests for the the Acceptance | list rentals: should redirect to rentals route
. Nothing wrong with the tutorial.