Chore: Swagger Docs V1 (#546)

This commit is contained in:
Sony Mathew
2020-02-23 12:54:29 +05:30
committed by GitHub
parent eea92bd0ac
commit e2688d5176
25 changed files with 739 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
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