summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-11-10 23:00:05 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2015-11-10 23:00:05 +0100
commitd70f1f35b13411adf184fafb750ae8d8fb6badea (patch)
tree3a32c5bc54d3b8e47cff4c45b0fd4885a3c01820
parenteef129bd4ad41665cf5c1f1631e80b2f1bb3e4af (diff)
downloadgitlab-ce-artifacts.tar.gz
Fix testsartifacts
-rw-r--r--spec/requests/ci/api/builds_spec.rb4
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 233c15f87fe..7886a6feca2 100644
--- a/spec/requests/ci/api/builds_spec.rb
+++ b/spec/requests/ci/api/builds_spec.rb
@@ -144,13 +144,13 @@ describe Ci::API::API do
it "using token as parameter" do
post authorize_url, { token: build.project.token }, headers
expect(response.status).to eq(200)
- expect(json_response["temp_path"]).to_not be_nil
+ expect(json_response["TempPath"]).to_not be_nil
end
it "using token as header" do
post authorize_url, {}, headers_with_token
expect(response.status).to eq(200)
- expect(json_response["temp_path"]).to_not be_nil
+ expect(json_response["TempPath"]).to_not be_nil
end
end