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