summaryrefslogtreecommitdiff
path: root/spec/controllers/sessions_controller_spec.rb
blob: 1581cccb79a623740f628562f7811e0b7a163c8b (plain)
1
2
3
4
5
6
7
8
# 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