diff options
Diffstat (limited to 'spec/lib/gitlab/badge/coverage/template_spec.rb')
-rw-r--r-- | spec/lib/gitlab/badge/coverage/template_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/gitlab/badge/coverage/template_spec.rb b/spec/lib/gitlab/badge/coverage/template_spec.rb index 5a0adfd8e59..ba5c1b2ce6e 100644 --- a/spec/lib/gitlab/badge/coverage/template_spec.rb +++ b/spec/lib/gitlab/badge/coverage/template_spec.rb @@ -22,7 +22,7 @@ RSpec.describe Gitlab::Badge::Coverage::Template do context 'when its size is larger than the max allowed value' do before do - allow(badge).to receive(:customization).and_return({ key_text: 't' * 129 }) + allow(badge).to receive(:customization).and_return({ key_text: 't' * 65 }) end it 'returns default value' do @@ -76,7 +76,7 @@ RSpec.describe Gitlab::Badge::Coverage::Template do context 'when it is larger than the max allowed value' do before do - allow(badge).to receive(:customization).and_return({ key_width: 129 }) + allow(badge).to receive(:customization).and_return({ key_width: 513 }) end it 'returns default value' do |