docs: Add documentation for integration APIs (#2300)

This commit is contained in:
Sojan Jose
2021-05-20 20:46:45 +05:30
committed by GitHub
parent c681e8a01b
commit 46356d0bf9
23 changed files with 421 additions and 22 deletions

View File

@@ -36,7 +36,7 @@ RSpec.describe 'Integration Hooks API', type: :request do
expect(response).to have_http_status(:success)
data = JSON.parse(response.body)
expect(data['app']['id']).to eq params[:app_id]
expect(data['app_id']).to eq params[:app_id]
end
end
end
@@ -72,7 +72,7 @@ RSpec.describe 'Integration Hooks API', type: :request do
expect(response).to have_http_status(:success)
data = JSON.parse(response.body)
expect(data['app']['id']).to eq 'slack'
expect(data['app_id']).to eq 'slack'
end
end
end