summaryrefslogtreecommitdiff
path: root/lib/gitlab/badge
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-08-08 13:37:16 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-08-15 14:39:46 +0200
commit6f0b5800a92e5a0a9b94a36e013baa6361d638d5 (patch)
treeb4267b928aa755677974fc41139d85b309bb590d /lib/gitlab/badge
parent20f9b8be2fa53034aa867882cdcd4ccd2f019d29 (diff)
downloadgitlab-ce-6f0b5800a92e5a0a9b94a36e013baa6361d638d5.tar.gz
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