diff options
Diffstat (limited to 'spec/requests/api/services_spec.rb')
-rw-r--r-- | spec/requests/api/services_spec.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/spec/requests/api/services_spec.rb b/spec/requests/api/services_spec.rb index 5dc7de0ab8b..628d5533366 100644 --- a/spec/requests/api/services_spec.rb +++ b/spec/requests/api/services_spec.rb @@ -127,21 +127,6 @@ describe API::Services do expect(json_response['properties'].keys).to match_array(service_instance.api_field_names) end - it "returns empty hash or nil values if properties and data fields are empty" do - # deprecated services are not valid for update - initialized_service.update_attribute(:properties, {}) - - if initialized_service.data_fields_present? - initialized_service.data_fields.destroy - initialized_service.reload - end - - get api("/projects/#{project.id}/services/#{dashed_service}", user) - - expect(response).to have_gitlab_http_status(200) - expect(json_response['properties'].values.compact).to be_empty - end - it "returns error when authenticated but not a project owner" do project.add_developer(user2) get api("/projects/#{project.id}/services/#{dashed_service}", user2) |