title: No route matches [GET] "/sign_in"
body: <p>Set up Authentication with AngularJS and Ruby on Rails. Try to do under this article <a href="https://www.airpair.com/ruby-on-rails/posts/authentication-with-angularjs-and-ruby-on-rails" rel="nofollow">https://www.airpair.com/ruby-on-rails/posts/authentication-with-angularjs-and-ruby-on-rails</a>. But when run the test with rspec have the same error</p>
  
  <pre><code>Authentication login with valid inputs
       Failure/Error: Unable to find matching line from backtrace
       ActionController::RoutingError:
         No route matches [GET] "/sign_in"
  </code></pre>
  
  <p>In rake routes have:</p>
  
  <pre><code>                  Prefix Verb   URI Pattern                            Controller#Action
          new_user_session GET    /users/sign_in(.:format)               devise/sessions#new
              user_session POST   /users/sign_in(.:format)               devise/sessions#create
      destroy_user_session GET    /users/sign_out(.:format)              devise/sessions#destroy
             user_password POST   /users/password(.:format)              devise/passwords#create
         new_user_password GET    /users/password/new(.:format)          devise/passwords#new
        edit_user_password GET    /users/password/edit(.:format)         devise/passwords#edit
                           PATCH  /users/password(.:format)              devise/passwords#update
                           PUT    /users/password(.:format)              devise/passwords#update
  cancel_user_registration GET    /users/cancel(.:format)                devise/registrations#cancel
         user_registration POST   /users(.:format)                       devise/registrations#create
     new_user_registration GET    /users/sign_up(.:format)               devise/registrations#new
    edit_user_registration GET    /users/edit(.:format)                  devise/registrations#edit
                           PATCH  /users(.:format)                       devise/registrations#update
                           PUT    /users(.:format)                       devise/registrations#update
                           DELETE /users(.:format)                       devise/registrations#destroy
         user_confirmation POST   /users/confirmation(.:format)          devise/confirmations#create
     new_user_confirmation GET    /users/confirmation/new(.:format)      devise/confirmations#new
                           GET    /users/confirmation(.:format)          devise/confirmations#show
                      root GET    /                                      devise/sessions#new
                 user_root GET    /persons/profile(.:format)             persons#profile
                 next_page GET    /index(.:format)                       persons#index
                           GET    /omniauth/:provider/callback(.:format) devise_token_auth/omniauth_callbacks#redirect_callbacks
  </code></pre>