diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-08-08 13:37:16 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-08-15 14:39:46 +0200 |
commit | 6f0b5800a92e5a0a9b94a36e013baa6361d638d5 (patch) | |
tree | b4267b928aa755677974fc41139d85b309bb590d /spec | |
parent | 20f9b8be2fa53034aa867882cdcd4ccd2f019d29 (diff) | |
download | gitlab-ce-6f0b5800a92e5a0a9b94a36e013baa6361d638d5.tar.gz |
Add empty test coverage badge class and specs
Diffstat (limited to 'spec')
-rw-r--r-- | spec/lib/gitlab/badge/coverage_spec.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/spec/lib/gitlab/badge/coverage_spec.rb b/spec/lib/gitlab/badge/coverage_spec.rb new file mode 100644 index 00000000000..343ca3c0f85 --- /dev/null +++ b/spec/lib/gitlab/badge/coverage_spec.rb @@ -0,0 +1,19 @@ +require 'spec_helper' + +describe Gitlab::Badge::Coverage do + let(:project) { create(:project) } + + let(:pipeline) do + create(:ci_pipeline, project: project, + sha: project.commit.id, + ref: 'master') + end + + let(:badge) { described_class.new(project, 'master') } + + context 'builds exist' do + end + + context 'build does not exist' do + end +end |