foodsoft/spec/requests/api/navigations_spec.rb

25 lines
452 B
Ruby
Raw Normal View History

2022-11-21 15:54:47 +01:00
require 'swagger_helper'
describe 'Navigation', type: :request do
2022-11-21 15:54:47 +01:00
include ApiHelper
path '/navigation' do
get 'navigation' do
tags 'General'
produces 'application/json'
response '200', 'success' do
schema type: :object, properties: {
navigation: {
'$ref' => '#/components/schemas/Navigation'
}
}
run_test!
end
it_handles_invalid_token
end
end
end