diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-20 16:37:47 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-20 16:37:47 +0300 |
commit | aee0a117a889461ce8ced6fcf73207fe017f1d99 (patch) | |
tree | 891d9ef189227a8445d83f35c1b0fc99573f4380 /spec/bin | |
parent | 8d46af3258650d305f53b819eabf7ab18d22f59e (diff) |
Add latest changes from gitlab-org/gitlab@14-6-stable-eev14.6.0-rc42
Diffstat (limited to 'spec/bin')
-rw-r--r-- | spec/bin/feature_flag_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/bin/feature_flag_spec.rb b/spec/bin/feature_flag_spec.rb index de0db8ba256..a85cafcb4a3 100644 --- a/spec/bin/feature_flag_spec.rb +++ b/spec/bin/feature_flag_spec.rb @@ -239,7 +239,7 @@ RSpec.describe 'bin/feature-flag' do end describe '.read_rollout_issue_url' do - let(:options) { OpenStruct.new(name: 'foo', type: :development) } + let(:options) { double('options', name: 'foo', type: :development) } let(:url) { 'https://issue' } it 'reads type from $stdin' do @@ -265,7 +265,7 @@ RSpec.describe 'bin/feature-flag' do end describe '.read_ee_only' do - let(:options) { OpenStruct.new(name: 'foo', type: :development) } + let(:options) { double('options', name: 'foo', type: :development) } it { expect(described_class.read_ee_only(options)).to eq(false) } end |