Re: [Rails] What generates articles_index_path ?

2017-07-11 Thread Ariel Rzezak
Seeing your routes, try root_path or articles_path. > On Jul 10, 2017, at 3:36 PM, Ralph Shnelvar wrote: > > I am porting some Rails 4 code to Rails 5 and I hit the following problem > when using Rspec: articles_index_path is undefined. > > routes.rb > Rails.application.routes.draw do > d

[Rails] What generates articles_index_path ?

2017-07-10 Thread Ralph Shnelvar
Title: What generates articles_index_path ? I am porting some Rails 4 code to Rails 5 and I hit the following problem when using  Rspec:  articles_index_path  is undefined. routes.rb Rails.application.routes.draw do  devise_for :users  root 'static_pages#root'  resources :users  resources :