mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-24 08:04:08 +01:00
Add unit test for tag cloud
This commit is contained in:
parent
63fb7a589c
commit
a13199cdda
5 changed files with 34 additions and 7 deletions
|
|
@ -14,7 +14,7 @@ module Stats
|
|||
end
|
||||
|
||||
def font_size(tag)
|
||||
(9 + 2*(tag.count.to_i-min)/divisor)
|
||||
(9 + 2*(tag.count-min)/divisor)
|
||||
end
|
||||
|
||||
private
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue