diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-20 21:14:18 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-20 21:14:18 +0300 |
commit | 39cb2fdf01699eb5ac000c918f469c58dc75f7e8 (patch) | |
tree | 5de21a06dfe8b97c793f892032be45949aa482db /spec/lib/gitlab/config | |
parent | c17eb7c97062d25cdf1b44573e4c0241f52aa2fe (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/lib/gitlab/config')
-rw-r--r-- | spec/lib/gitlab/config/entry/factory_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/lib/gitlab/config/entry/factory_spec.rb b/spec/lib/gitlab/config/entry/factory_spec.rb index 260b5cf0ade..be4dfd31651 100644 --- a/spec/lib/gitlab/config/entry/factory_spec.rb +++ b/spec/lib/gitlab/config/entry/factory_spec.rb @@ -5,8 +5,8 @@ require 'spec_helper' RSpec.describe Gitlab::Config::Entry::Factory do describe '#create!' do before do - stub_const('Script', Class.new(Gitlab::Config::Entry::Node)) - Script.class_eval do + stub_const('Commands', Class.new(Gitlab::Config::Entry::Node)) + Commands.class_eval do include Gitlab::Config::Entry::Validatable validations do @@ -15,7 +15,7 @@ RSpec.describe Gitlab::Config::Entry::Factory do end end - let(:entry) { Script } + let(:entry) { Commands } let(:factory) { described_class.new(entry) } context 'when setting a concrete value' do |