summaryrefslogtreecommitdiff
path: root/spec/bin
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-11-26 12:12:49 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-11-26 12:12:49 +0000
commit5343536f2bb402bc767db2d015e45ac87189d7c3 (patch)
tree29e7630ace5f465f0b3d6374c044dbb57227d694 /spec/bin
parentbc8f298b647859a411d38a440c397e5990ef4941 (diff)
downloadgitlab-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.rb4
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