16 lines
311 B
Ruby
Raw Permalink Normal View History

2024-12-08 08:34:55 +00:00
# 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