2022-11-21 15:23:46 +01:00
|
|
|
require 'swagger_helper'
|
|
|
|
|
2022-11-21 15:59:20 +01:00
|
|
|
describe 'Config', type: :request do
|
2022-11-21 15:23:46 +01:00
|
|
|
include ApiHelper
|
|
|
|
|
|
|
|
path '/config' do
|
|
|
|
get 'configuration variables' do
|
|
|
|
tags 'General'
|
|
|
|
produces 'application/json'
|
|
|
|
let(:api_scopes) { ['config:user'] }
|
|
|
|
|
|
|
|
response '200', 'success' do
|
|
|
|
run_test!
|
|
|
|
end
|
|
|
|
|
|
|
|
it_handles_invalid_token_and_scope
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|