diff options
author | Matija Čupić <matteeyah@gmail.com> | 2019-04-26 14:30:40 -0400 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2019-04-26 15:20:47 -0400 |
commit | 07b5c50381884e06322a0dea3363f87bf62f399a (patch) | |
tree | 2ba69dd8cb7c7ffb669329e689fd713970f0a781 /spec/lib/gitlab/ci/variables | |
parent | 265b789476479c29ea88db174aca1d80ddf24358 (diff) | |
download | gitlab-ce-07b5c50381884e06322a0dea3363f87bf62f399a.tar.gz |
Remove variable masking feature flag
Diffstat (limited to 'spec/lib/gitlab/ci/variables')
-rw-r--r-- | spec/lib/gitlab/ci/variables/collection/item_spec.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/spec/lib/gitlab/ci/variables/collection/item_spec.rb b/spec/lib/gitlab/ci/variables/collection/item_spec.rb index 3ff2fe18c15..613814df23f 100644 --- a/spec/lib/gitlab/ci/variables/collection/item_spec.rb +++ b/spec/lib/gitlab/ci/variables/collection/item_spec.rb @@ -137,19 +137,5 @@ describe Gitlab::Ci::Variables::Collection::Item do .to eq(key: 'VAR', value: 'value', public: true, file: true, masked: false) end end - - context 'when variable masking is disabled' do - before do - stub_feature_flags(variable_masking: false) - end - - it 'does not expose the masked field to the runner' do - runner_variable = described_class - .new(key: 'VAR', value: 'value', masked: true) - .to_runner_variable - - expect(runner_variable).to eq(key: 'VAR', value: 'value', public: true) - end - end end end |