16 lines
311 B
Ruby
16 lines
311 B
Ruby
# Copyright (C) 2024 Manuel Bustillo
|
|
|
|
require 'swagger_helper'
|
|
|
|
RSpec.describe 'tokens', type: :request do
|
|
path '/token' do
|
|
get('get a cookie with CSRF token') do
|
|
tags 'CSRF token'
|
|
consumes 'application/json'
|
|
produces 'application/json'
|
|
|
|
response_empty_200
|
|
end
|
|
end
|
|
end
|