Q:

expected #has_link?("New Todo Item", {:href=>"/todo_lists/1555/todo_items/new"}) to return true, got false

I am doing coursera assignment.
Error is
expected #has_link?("New Todo Item", {:href=>"/todo_lists/1555/todo_items/new"}) to return true, got false

Test is
expect(page).to have_link('New Todo Item', :href => "#{new_todo_list_todo_item_path(tl_id)}")

I defined in view
<%= link_to 'New Todo item', new_todo_list_todo_item_path(@todo_list) %>

But it still gives me error

A:

you link title is New Todo item, and test link title is New Todo Item.
Check you link title spell

