Skip to content
代码片段 群组 项目
提交 5b6be1ed 编辑于 作者: Allison Browne's avatar Allison Browne
浏览文件

Merge branch 'andysoiron/add-feature-categories-to-ci-specs' into 'master'

Add feature categories to CI specs

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/137101



Merged-by: default avatarAllison Browne <abrowne@gitlab.com>
Approved-by: default avatarAllison Browne <abrowne@gitlab.com>
Reviewed-by: default avatarAllison Browne <abrowne@gitlab.com>
Co-authored-by: default avatarAndy Soiron <asoiron@gitlab.com>
No related branches found
No related tags found
无相关合并请求
......@@ -2,7 +2,7 @@
require 'spec_helper'
RSpec.describe Gitlab::Ci::Config::Entry::Bridge do
RSpec.describe Gitlab::Ci::Config::Entry::Bridge, feature_category: :pipeline_composition do
subject { described_class.new(config, name: :my_bridge) }
describe '.matching?' do
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
RSpec.describe ::Gitlab::Ci::Config::Entry::Need do
RSpec.describe ::Gitlab::Ci::Config::Entry::Need, feature_category: :pipeline_composition do
subject(:need) { described_class.new(config) }
context 'with Bridge config' do
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
RSpec.describe ::Gitlab::Ci::Config::Entry::Needs do
RSpec.describe ::Gitlab::Ci::Config::Entry::Needs, feature_category: :pipeline_composition do
subject(:needs) { described_class.new(config) }
before do
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
RSpec.describe Gitlab::Ci::Config do
RSpec.describe Gitlab::Ci::Config, feature_category: :pipeline_composition do
let_it_be(:ci_yml) do
<<-EOS
sample_job:
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
RSpec.describe Gitlab::Ci::Jwt do
RSpec.describe Gitlab::Ci::Jwt, feature_category: :secrets_management do
let(:namespace) { build_stubbed(:namespace) }
let(:project) { build_stubbed(:project, namespace: namespace) }
let(:user) { build_stubbed(:user) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
RSpec.describe Gitlab::Ci::Pipeline::Chain::Validate::AfterConfig do
RSpec.describe Gitlab::Ci::Pipeline::Chain::Validate::AfterConfig, feature_category: :continuous_integration do
let_it_be(:project) { create(:project, :repository) }
let_it_be(:user) { create(:user) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
RSpec.describe Gitlab::Ci::Pipeline::Chain::Validate::SecurityOrchestrationPolicy do
RSpec.describe Gitlab::Ci::Pipeline::Chain::Validate::SecurityOrchestrationPolicy, feature_category: :security_policy_management do
let_it_be(:user) { create(:user) }
let_it_be(:project) { create(:project) }
let_it_be(:security_orchestration_policy_configuration) { build(:security_orchestration_policy_configuration, project: project) }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
RSpec.describe "CI YML Templates" do
RSpec.describe "CI YML Templates", feature_category: :pipeline_composition do
using RSpec::Parameterized::TableSyntax
subject { Gitlab::Ci::YamlProcessor.new(content).execute }
......
......@@ -2,7 +2,7 @@
require 'spec_helper'
RSpec.describe Gitlab::Ci::JwtV2, feature_category: :continuous_integration do
RSpec.describe Gitlab::Ci::JwtV2, feature_category: :secrets_management do
let(:namespace) { build_stubbed(:namespace) }
let(:project) { build_stubbed(:project, namespace: namespace) }
let(:user) do
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册