diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-01-15 15:35:33 +0100 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-01-15 15:35:33 +0100 |
commit | 1ce766367eb529fe88068be2f34315f87d74a349 (patch) | |
tree | ce42ab578a0253324c0b78dd516711af55848405 /spec | |
parent | ac652d82f17d378e485dcef15a8fabdcf9bad76b (diff) | |
download | gitlab-ce-1ce766367eb529fe88068be2f34315f87d74a349.tar.gz |
Change dependencies.builds to depends_on_builds
Diffstat (limited to 'spec')
-rw-r--r-- | spec/requests/ci/api/builds_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/requests/ci/api/builds_spec.rb b/spec/requests/ci/api/builds_spec.rb index 1c3e27abb9f..eec927102aa 100644 --- a/spec/requests/ci/api/builds_spec.rb +++ b/spec/requests/ci/api/builds_spec.rb @@ -110,8 +110,8 @@ describe Ci::API::API do post ci_api("/builds/register"), token: runner.token, info: { platform: :darwin } expect(response.status).to eq(201) - expect(json_response["dependencies"]["builds"].count).to eq(2) - expect(json_response["dependencies"]["builds"][0]["name"]).to eq("rspec") + expect(json_response["depends_on_builds"].count).to eq(2) + expect(json_response["depends_on_builds"][0]["name"]).to eq("rspec") end end |