DEV: Fix group create response api response (#17711)

This commit is contained in:
Blake Erickson 2022-07-28 16:49:33 +01:00 committed by GitHub
parent 023835cdad
commit 53d861414d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@ RSpec.describe 'groups' do
produces 'application/json' produces 'application/json'
response '200', 'group created' do response '200', 'group created' do
expected_response_schema = load_spec_schema('group_create_response') expected_response_schema = load_spec_schema('group_create_response')
schema expected_response_schema
let(:params) { { 'group' => { 'name' => 'awesome' } } } let(:params) { { 'group' => { 'name' => 'awesome' } } }
it_behaves_like "a JSON endpoint", 200 do it_behaves_like "a JSON endpoint", 200 do