summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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