Permalink
Browse files

Merge pull request #101 from adamtao/master

Fix time calculation.
  • Loading branch information...
2 parents fa3a688 + de502ff commit 269cbf9b3c8b677169ca4af250463ad0404bcf33 @trans trans committed Aug 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/turn/reporter.rb
View
2 lib/turn/reporter.rb
@@ -119,7 +119,7 @@ def naturalized_name(test)
#
def ticktock
t = Time.now - @time
- h, t = t.divmod(60)
+ h, t = t.divmod(3600)
m, t = t.divmod(60)
s = t.truncate
f = ((t - s) * 1000).to_i

0 comments on commit 269cbf9

Please sign in to comment.