mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-20 09:10:12 +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
|
|
@ -555,8 +555,8 @@ class StatsController < ApplicationController
|
|||
tags = Stats::TagCloudQuery.new(current_user).result
|
||||
@tag_cloud = Stats::TagCloud.new(tags)
|
||||
|
||||
tags_90days = Stats::TagCloudQuery.new(current_user, @cut_off_3months).result
|
||||
@tag_cloud_90days = Stats::TagCloud.new(tags_90days)
|
||||
tags = Stats::TagCloudQuery.new(current_user, @cut_off_3months).result
|
||||
@tag_cloud_90days = Stats::TagCloud.new(tags)
|
||||
end
|
||||
|
||||
def get_ids_from (actions, week_from, week_to, at_end)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue