Revision d575926a
Added by Alon Goldboim almost 9 years ago
test/functional/api/v2/auth_source_ldaps_controller_test.rb | ||
---|---|---|
assert_difference('AuthSourceLdap.count', 1) do
|
||
post :create, { :auth_source_ldap => valid_attrs }
|
||
end
|
||
assert_response :success
|
||
assert_response :created
|
||
end
|
||
|
||
test "should update auth_source_ldap" 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.