diff options
author | Dylan Griffith <dyl.griffith@gmail.com> | 2018-04-05 16:39:16 +1000 |
---|---|---|
committer | Dylan Griffith <dyl.griffith@gmail.com> | 2018-04-09 10:12:02 +1000 |
commit | 5e3733da3773f187c5a8c20c26f9d5c0432dea57 (patch) | |
tree | 52a1b4e8c693a6a350e84aa5a5482453d35fa8d8 /spec | |
parent | 86ca1a77c58b508fc1b037c5fffbfb22fd992b42 (diff) | |
download | gitlab-ce-5e3733da3773f187c5a8c20c26f9d5c0432dea57.tar.gz |
Get GITLAB_FEATURES from Project#licensed_features instead of Namespace#features (#5320)5320-fix-gitlab-features-env-var
Diffstat (limited to 'spec')
-rw-r--r-- | spec/models/ci/build_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/ci/build_spec.rb b/spec/models/ci/build_spec.rb index a12717835b0..982af363b62 100644 --- a/spec/models/ci/build_spec.rb +++ b/spec/models/ci/build_spec.rb @@ -1472,7 +1472,7 @@ describe Ci::Build do { key: 'CI_REPOSITORY_URL', value: build.repo_url, public: false }, { key: 'CI', value: 'true', public: true }, { key: 'GITLAB_CI', value: 'true', public: true }, - { key: 'GITLAB_FEATURES', value: project.namespace.features.join(','), public: true }, + { key: 'GITLAB_FEATURES', value: project.licensed_features.join(','), public: true }, { key: 'CI_SERVER_NAME', value: 'GitLab', public: true }, { key: 'CI_SERVER_VERSION', value: Gitlab::VERSION, public: true }, { key: 'CI_SERVER_REVISION', value: Gitlab::REVISION, public: true }, |