Commit 6f0b5800 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Add empty test coverage badge class and specs

parent 20f9b8be
module Gitlab
module Badge
##
# Test coverage badge
#
class Coverage
def initialize(project, ref, job = nil)
@project = project
@ref = ref
@job = job
end
def coverage
end
end
end
end
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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment