Help No route (path) could be generated for :book

Hello & Greetings, I’m new to Hanami, nice to meet you all.

So i have successfully follow the getting started in hanami guides, then i try to add show link to list books index, so i add this in index_spec.rb : expect(rendered).to include('Show').

If i run it of course it gives me error. then i generate new action called books#show and change my routes.rb to resources :books, only: [:index, :show, :new, :create]

after that i add the show link to my templates <%= link_to "Show", routes.book_path(book.id) %>

i run again the test and show this error :
Hanami::Routing::InvalidRouteException: No route (path) could be generated for :book - please check given arguments

so did i missing something? i’m sure that i have show.rb in my controller & views, i’ve tried it in the ui (running hanami server without passing the test) the route works pretty well.

Thank you.