puts for spec logging

This commit is contained in:
Samuel Beaulieu 2022-07-22 14:16:28 -05:00
parent 4e85886da4
commit 28c5331e38
No known key found for this signature in database
GPG key ID: 12030F74136D0F34

View file

@ -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)