./test/test_helper.rb in umlaut-3.1.0 vs ./test/test_helper.rb in umlaut-3.1.1
- old
+ new
@@ -76,9 +76,10 @@
c.cassette_library_dir = 'test/vcr_cassettes'
# webmock needed for HTTPClient testing
c.hook_into :webmock
c.register_request_matcher(:uri_without_ctx_tim, &without_ctx_tim)
# c.debug_logger = $stderr
+ c.filter_sensitive_data("BX_TOKEN") { ENV['BX_TOKEN'] } unless ENV['BX_TOKEN'].blank?
end
# Silly way to not have to rewrite all our tests if we
# temporarily disable VCR, make VCR.use_cassette a no-op
# instead of no-such-method.