mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 04:53:37 +08:00
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'
|
||||
response '200', 'group created' do
|
||||
expected_response_schema = load_spec_schema('group_create_response')
|
||||
schema expected_response_schema
|
||||
|
||||
let(:params) { { 'group' => { 'name' => 'awesome' } } }
|
||||
it_behaves_like "a JSON endpoint", 200 do
|
||||
|
|
Loading…
Reference in New Issue
Block a user