summaryrefslogtreecommitdiff
path: root/spec/controllers/authentications_controller_spec.rb
blob: 5a365446bece48f2da8ea1fc47af474b4056a7fe (plain)
1
2
3
4
5
6
7
8
9
# 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) }
  it { should route(:post, '/api/refresh_token').to(action: :refresh)}
end