diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-05 21:01:31 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-05 21:01:31 +0300 |
commit | 81a855a7df8cf24195b11dbec8f296b0bae440bb (patch) | |
tree | ee5480cdb074e21af46bd299b66d6cbb7cbe03e9 /spec/lib/gitlab/ci | |
parent | cfb0ebe093bf68c4651e13ca199f683650ee3fe5 (diff) |
Add latest changes from gitlab-org/gitlab@16-0-stable-ee
Diffstat (limited to 'spec/lib/gitlab/ci')
-rw-r--r-- | spec/lib/gitlab/ci/config/entry/includes_spec.rb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/spec/lib/gitlab/ci/config/entry/includes_spec.rb b/spec/lib/gitlab/ci/config/entry/includes_spec.rb new file mode 100644 index 00000000000..f1f28c24e70 --- /dev/null +++ b/spec/lib/gitlab/ci/config/entry/includes_spec.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +require 'fast_spec_helper' +require_dependency 'active_model' + +RSpec.describe ::Gitlab::Ci::Config::Entry::Includes, feature_category: :pipeline_composition do + subject(:include_entry) { described_class.new(config) } + + describe '#initialize' do + let(:config) { 'test.yml' } + + it 'does not increase aspects' do + 2.times { expect { described_class.new(config) }.not_to change { described_class.aspects.count } } + end + end +end |