test/integration/logger_test.rb in filum-2.1.0 vs test/integration/logger_test.rb in filum-2.2.0

- old
+ new

@@ -10,9 +10,10 @@ super Filum.setup("/tmp/log/filum_test_#{Time.now.to_i}.log") end def assert_logged(regex) - assert File.readlines(Filum.logger.logfile).grep(regex).size == 1 + lines = File.readlines(Filum.logger.logfile) + assert lines.grep(regex).size == 1, "Pattern (#{regex}) was not found in \n#{lines.join}" end end end