diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2017-06-29 16:55:19 +0300 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2017-06-29 16:55:19 +0300 |
commit | efb7b2d341a63e0904c8e49ab79b51cbbb153221 (patch) | |
tree | 3fa883b947652d7fd86e392c372490036633f4fc /spec/models | |
parent | da15cd7b6f5cbdf5448d95d1128eda648260833d (diff) | |
parent | 4447006832d8955f371e2430988e0c95b20f155d (diff) |
Merge branch 'zj-usage-ping-only-gl-pipelines' into 'master'
Only count GL pipelines in usage data ping
Closes #33172
See merge request !12277
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/ci/pipeline_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/models/ci/pipeline_spec.rb b/spec/models/ci/pipeline_spec.rb index dab8e8ca432..55d85a6e228 100644 --- a/spec/models/ci/pipeline_spec.rb +++ b/spec/models/ci/pipeline_spec.rb @@ -672,6 +672,12 @@ describe Ci::Pipeline, models: true do end end + describe '.internal_sources' do + subject { described_class.internal_sources } + + it { is_expected.to be_an(Array) } + end + describe '#status' do let(:build) do create(:ci_build, :created, pipeline: pipeline, name: 'test') |