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
path: root/spec
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-08-12 16:26:55 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-08-15 15:39:46 +0300
commitb13e1d795a06499d0264b1103108057a7862826f (patch)
treee74d216561e05eeacb2069ade71b8f56ba32c897 /spec
parent0c81279ea2da8751c58d211d9eb857d227f4318d (diff)
Add small corrections to test coverage report badge
Diffstat (limited to 'spec')
-rw-r--r--spec/lib/gitlab/badge/coverage/template_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/lib/gitlab/badge/coverage/template_spec.rb b/spec/lib/gitlab/badge/coverage/template_spec.rb
index a45de1dc677..383bae6e087 100644
--- a/spec/lib/gitlab/badge/coverage/template_spec.rb
+++ b/spec/lib/gitlab/badge/coverage/template_spec.rb
@@ -37,7 +37,7 @@ describe Gitlab::Badge::Coverage::Template do
describe '#value_width' do
context 'when coverage is known' do
it 'is narrower when coverage is known' do
- expect(template.value_width).to eq 32
+ expect(template.value_width).to eq 36
end
end
@@ -75,7 +75,7 @@ describe Gitlab::Badge::Coverage::Template do
end
it 'is green-orange' do
- expect(template.value_color).to eq '#b0c'
+ expect(template.value_color).to eq '#a3c51c'
end
end
@@ -113,7 +113,7 @@ describe Gitlab::Badge::Coverage::Template do
describe '#width' do
context 'when coverage is known' do
it 'returns the key width plus value width' do
- expect(template.width).to eq 94
+ expect(template.width).to eq 98
end
end