test/logging_helpers_test.rb in vault-test-tools-0.3.9 vs test/logging_helpers_test.rb in vault-test-tools-0.4.2
- old
+ new
@@ -5,10 +5,10 @@
# The LoggingHelpers mixin attaches a StringIO to Scrolls to capture log
# messages.
def test_scrolls_logs_to_stream
Scrolls.log(key: 'value')
- assert_equal("key=value", Scrolls.stream.string.strip)
+ assert_equal("app=test_app key=value", Scrolls.stream.string.strip)
end
def test_logline
Scrolls.log(foo: 'bar')
assert_includes(logline, 'foo=bar')