test/integration/stdout_logger_test.rb in filum-2.1.0 vs test/integration/stdout_logger_test.rb in filum-2.2.0
- old
+ new
@@ -22,10 +22,10 @@
super
mocha_teardown
end
def assert_logged(regex)
- assert File.readlines(@filename).grep(regex).size == 1
+ assert File.readlines(@filename).grep(regex).size == 1, "Pattern (#{regex}) was not found"
end
end
end