When I use rspec to do some testing: bundle exec rspec spec/
terminal throws this error to me. But in my route.rb, I think I only define one root path
These two named routes:
match '/signin', to: 'sessions#new', via: 'get'
match '/signout', to: 'sessions#destroy', via: 'delete'
are overriding the routes set up with:
resources :sessions, only: [:new, :create, :destroy]
Change that line to:
resources :sessions, only: [:create]
assuming that you even need that route.