Disable verbose for tests

This commit is contained in:
Alexander Meindl 2018-05-21 12:43:42 +02:00
parent ad181ee910
commit babb031300
2 changed files with 3 additions and 1 deletions

View File

@ -93,7 +93,7 @@ module AdditionalsTagHelper
def tag_cloud(tags, classes)
return [] if tags.empty?
max_count = tags.sort_by(&:count).last.count.to_f
max_count = tags.max_by(&:count).count.to_f
tags.each do |tag|
index = ((tag.count / max_count) * (classes.size - 1))

View File

@ -1,3 +1,5 @@
$VERBOSE = nil
unless ENV['SKIP_COVERAGE']
require 'simplecov'
require 'simplecov-rcov'