diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-11-26 12:12:49 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-11-26 12:12:49 +0000 |
commit | 5343536f2bb402bc767db2d015e45ac87189d7c3 (patch) | |
tree | 29e7630ace5f465f0b3d6374c044dbb57227d694 /spec/bin | |
parent | bc8f298b647859a411d38a440c397e5990ef4941 (diff) | |
download | gitlab-ce-5343536f2bb402bc767db2d015e45ac87189d7c3.tar.gz |
Add latest changes from gitlab-org/gitlab@master
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 |