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:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-08-08 14:37:16 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-08-15 15:39:46 +0300
commit6f0b5800a92e5a0a9b94a36e013baa6361d638d5 (patch)
treeb4267b928aa755677974fc41139d85b309bb590d /lib/gitlab/badge
parent20f9b8be2fa53034aa867882cdcd4ccd2f019d29 (diff)
Add empty test coverage badge class and specs
Diffstat (limited to 'lib/gitlab/badge')
-rw-r--r--lib/gitlab/badge/coverage.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/gitlab/badge/coverage.rb b/lib/gitlab/badge/coverage.rb
new file mode 100644
index 00000000000..94af3a7ec34
--- /dev/null
+++ b/lib/gitlab/badge/coverage.rb
@@ -0,0 +1,17 @@
+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