summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorZ.J. van de Weg <git@zjvandeweg.nl>2017-03-07 17:37:05 +0100
committerZ.J. van de Weg <git@zjvandeweg.nl>2017-03-07 17:37:05 +0100
commit993a1edd4f0501fa8af261e9a81d8d9f200ac3b0 (patch)
tree9220acd0ed228fd18954dab8e015f1fda9b0a5c8 /spec
parent9c25404ac0d0d960524cc8fd731ff205ba96e663 (diff)
downloadgitlab-ce-993a1edd4f0501fa8af261e9a81d8d9f200ac3b0.tar.gz
Rename REF to SHA
Diffstat (limited to 'spec')
-rw-r--r--spec/models/ci/build_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/ci/build_spec.rb b/spec/models/ci/build_spec.rb
index 18368de060c..fd6ea2d6722 100644
--- a/spec/models/ci/build_spec.rb
+++ b/spec/models/ci/build_spec.rb
@@ -1293,7 +1293,7 @@ describe Ci::Build, :models do
{ key: 'CI_JOB_NAME', value: 'test', public: true },
{ key: 'CI_JOB_STAGE', value: 'test', public: true },
{ key: 'CI_JOB_TOKEN', value: build.token, public: false },
- { key: 'CI_COMMIT_REF', value: build.sha, public: true },
+ { key: 'CI_COMMIT_SHA', value: build.sha, public: true },
{ key: 'CI_COMMIT_REF_NAME', value: build.ref, public: true },
{ key: 'CI_COMMIT_REF_SLUG', value: build.ref_slug, public: true },
{ key: 'CI_PROJECT_ID', value: project.id.to_s, public: true },