test/test_redis-stat.rb in redis-stat-0.2.0 vs test/test_redis-stat.rb in redis-stat-0.2.1

- old
+ new

@@ -94,10 +94,11 @@ end def test_start csv = '/tmp/redis-stat.csv' cnt = 50 - rs = RedisStat.new :hosts => %w[localhost] * 5, :interval => 0.1, :count => cnt, :verbose => true, :csv => csv + rs = RedisStat.new :hosts => %w[localhost] * 5, :interval => 0.1, :count => cnt, + :verbose => true, :csv => csv, :auth => 'pw' rs.start $stdout assert_equal cnt + 1, File.read(csv).lines.to_a.length ensure File.unlink csv