Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2017-06-29 16:55:19 +0300
committerKamil Trzciński <ayufan@ayufan.eu>2017-06-29 16:55:19 +0300
commitefb7b2d341a63e0904c8e49ab79b51cbbb153221 (patch)
tree3fa883b947652d7fd86e392c372490036633f4fc /spec/models
parentda15cd7b6f5cbdf5448d95d1128eda648260833d (diff)
parent4447006832d8955f371e2430988e0c95b20f155d (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.rb6
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')