tracks/app/models/stats
Reinier Balt e58379e81f This fixes failing tests when the timezone is different than utc
There were several problems:
* Time.now returns the systems time, not the users time
* fixtures do not translate dates from timezone to utc, but stores the
  date verbatim
* calling a controller will set the timezone to the preference of the
  current_user. So it could be changed while you do not realize this. I
  fixed the failing test, but problems could be elsewhere
2015-08-05 11:50:33 +02:00
..
actions.rb Move time to complete stats into separate class 2013-03-02 16:16:45 -05:00
chart.rb Extract chart value object 2013-03-01 20:38:24 -05:00
contexts.rb Group context-related pieces in a class 2013-03-02 17:21:03 -07:00
pie_chart_data.rb Fix failing tests 2013-03-18 21:54:19 -06:00
projects.rb Statistics for longest running projects now includes completed and hidden projects. fixes #1725 2014-11-05 17:07:21 +01:00
tag_cloud.rb Split up the font size calculation 2013-03-02 07:14:52 -05:00
tag_cloud_query.rb Separate query from cloud 2013-03-01 13:14:27 -05:00
time_to_complete.rb Don't round in ttc.min_sec method 2013-03-02 16:16:45 -05:00
top_contexts_query.rb Group context-related pieces in a class 2013-03-02 17:21:03 -07:00
top_projects_query.rb Extract top projects query object 2013-03-01 23:11:44 -05:00
totals.rb This fixes failing tests when the timezone is different than utc 2015-08-05 11:50:33 +02:00
user_stats.rb Use a more appropriate name for stats domain object 2013-03-05 07:49:44 -07:00
user_tags_query.rb Extract duplicated query 2013-03-01 21:27:58 -05:00