Skip to content

Probably error in tutorial, Part 2, Section "Route Params" #1450

Closed
@kisumoto

Description

@kisumoto

I'm following that tutorial. My env:

ember-cli: 3.18.0
node: 12.18.0
os: linux x64

Tutorial link: https://guides.emberjs.com/release/tutorial/part-2/route-params/
Version selected: 3.18.

Tutorial recommends to add test:

    assert.dom('article h3 a').hasAttribute('href', '/rentals/grand-old-mansion');

but that test doesn't pass even after routing is enabled. Here is what I've got to pass:

    assert.dom('article h3 a').hasAttribute('href', '/rental/grand-old-mansion');

Difference in rentalS => rental in URL.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions