Hi
When i run static_page_rspec file()
displayed error: Failure/Error: visit ‘/static_pages/contact’
ActionController::RoutingError:
No route matches [GET] “/static_pages/contact”
Its routes.rb:
et ‘/’ => ‘pets#index’
match ‘/contact’, to: ‘static_pages#contact’, via: ‘get’
match ‘/about’, to: ‘static_pages#about’, via: ‘get’
match ‘/faq’, to: ‘static_pages#faq’, via: ‘get’
resources :kinds
resources :pets
How solve this problem?
Thank you