blob: 38aa1ba4ebb54a47f4afe4de65e649d154b56a5d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# frozen_string_literal: true
require 'fast_spec_helper'
RSpec.describe Gitlab::Ci::Status::Group::Factory do
it 'inherits from the core factory' do
expect(described_class)
.to be < Gitlab::Ci::Status::Factory
end
it 'exposes group helpers' do
expect(described_class.common_helpers)
.to eq Gitlab::Ci::Status::Group::Common
end
it 'exposes extended statuses' do
expect(described_class.extended_statuses)
.to eq([[Gitlab::Ci::Status::SuccessWarning]])
end
end
|