13 lines
327 B
Ruby
13 lines
327 B
Ruby
|
require 'rails_helper'
|
||
|
|
||
|
describe '/swagger', type: :request do
|
||
|
describe 'GET /swagger' do
|
||
|
it 'renders swagger index.html' do
|
||
|
get '/swagger'
|
||
|
expect(response).to have_http_status(:success)
|
||
|
expect(response.body).to include('redoc')
|
||
|
expect(response.body).to include('/swagger.json')
|
||
|
end
|
||
|
end
|
||
|
end
|