summaryrefslogtreecommitdiff
path: root/spec/models/ci
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-05-11 15:34:36 +0900
committerShinya Maeda <shinya@gitlab.com>2018-05-11 15:34:36 +0900
commit910a7d02a812b1203e320d843a77cad2c7069b63 (patch)
tree59896b9a8f57b94710d2f3cf15af74128c7fbd5e /spec/models/ci
parent9ccfcf55ba684a4c7b1dfec761e3481f74b746b0 (diff)
downloadgitlab-ce-910a7d02a812b1203e320d843a77cad2c7069b63.tar.gz
Remove numericality as it's redandant with integer column and validates nil IID
Diffstat (limited to 'spec/models/ci')
-rw-r--r--spec/models/ci/build_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/models/ci/build_spec.rb b/spec/models/ci/build_spec.rb
index dc810489011..490b1f0b54e 100644
--- a/spec/models/ci/build_spec.rb
+++ b/spec/models/ci/build_spec.rb
@@ -1517,6 +1517,7 @@ describe Ci::Build do
{ key: 'CI_PROJECT_URL', value: project.web_url, public: true },
{ key: 'CI_PROJECT_VISIBILITY', value: 'private', public: true },
{ key: 'CI_PIPELINE_ID', value: pipeline.id.to_s, public: true },
+ { key: 'CI_PIPELINE_IID', value: pipeline.iid.to_s, public: true },
{ key: 'CI_CONFIG_PATH', value: pipeline.ci_yaml_file_path, public: true },
{ key: 'CI_PIPELINE_SOURCE', value: pipeline.source, public: true },
{ key: 'CI_COMMIT_MESSAGE', value: pipeline.git_commit_message, public: true },