get :show, params: { use_route: 'api/v1/timeline_posts/', id: 1 }
ActionController::UrlGenerationError: No route matches {:action=>"show", :controller=>"api/v1/timeline_posts", :id=>1}
from /usr/local/bundle/gems/actionpack-7.1.3.3/lib/action_dispatch/journey/formatter.rb:44:in `path'
...
and other basic ways:
get :show, id: id
get :show, params: {id: id}
-> No route matches
I'm having trouble running rspec.. I have folder
folder rpsec:
rails routes:
but a run call when run rspec raise error
Please help me, thanks