test/test_stats.rb in mongrel-0.3.13.3 vs test/test_stats.rb in mongrel-0.3.13.4
- old
+ new
@@ -11,11 +11,11 @@
class StatsTest < Test::Unit::TestCase
def test_sampling_speed
out = StringIO.new
- s = Stats.new("test")
- t = Stats.new("time")
+ s = Mongrel::Stats.new("test")
+ t = Mongrel::Stats.new("time")
100.times { s.sample(rand(20)); t.tick }
s.dump("FIRST", out)
t.dump("FIRST", out)