DEV: Fix group create response api response (#17711)
This commit is contained in:
parent
023835cdad
commit
53d861414d
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue