require 'rails_helper'

RSpec.describe 'Routing to sessions', type: :routing do
  it 'routes POST /sessions to sessions#create' do
    expect(post: '/sessions').to route_to('sessions#create')
  end

  it 'routes GET /sessions/new to sessions#new' do
    expect(get: '/sessions/new').to route_to('sessions#new')
  end

  it 'routes DELETE /sessions/1 to sessions#destroy' do
    expect(delete: '/sessions/1').to route_to('sessions#destroy', id: '1')
  end
end

Add tests for sessions routing
Add tests for sessions routing
