Revision d575926a
Added by Alon Goldboim almost 9 years ago
test/functional/api/v2/external_usergroups_controller_test.rb | ||
---|---|---|
post :create, { :usergroup_id => usergroup.to_param,
|
||
:external_usergroup => valid_attrs }
|
||
end
|
||
assert_response :success
|
||
assert_response :created
|
||
end
|
||
|
||
test 'refresh external user group' do
|
Also available in: Unified diff
Fixes #10356 - changed the POST/PUT RABL template to be the same as the GET template
HTTP response code standardized to 201 on create.