# frozen_string_literal: true require 'rails_helper' RSpec.describe Api::SessionsController, type: :controller do it { should route(:post, '/api/login').to(action: :create) } it { should route(:delete, '/api/logout').to(action: :destroy) } end