From 28c5331e38a7a383b1faf3518810e352096431b8 Mon Sep 17 00:00:00 2001 From: Samuel Beaulieu Date: Fri, 22 Jul 2022 14:16:28 -0500 Subject: [PATCH] puts for spec logging --- spec/helpers.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spec/helpers.rb b/spec/helpers.rb index 4b2dff6..eefcb04 100644 --- a/spec/helpers.rb +++ b/spec/helpers.rb @@ -10,7 +10,9 @@ end # Mock an object which represents a Logger. This stops the proliferation # of allow(logger).to .... expectations in tests. class MockLogger - def log(_level, string); end + def log(_level, string); + puts "#{string}" + end end def expect_json(ok = true, http = 200)