Sha256: 1555500f3abd42d4f8dea89a3319357aeb5ad8f12656300f9c6d12de35b764c5
Contents?: true
Size: 392 Bytes
Versions: 113
Compression:
Stored size: 392 Bytes
Contents
require_relative 'helper' require 'fluent/msgpack_factory' class MessagePackFactoryTest < Test::Unit::TestCase test 'call log.warn only once' do klass = Class.new do include Fluent::MessagePackFactory::Mixin end mp = klass.new mock.proxy($log).warn(anything).once assert mp.msgpack_factory assert mp.msgpack_factory assert mp.msgpack_factory end end
Version data entries
113 entries across 113 versions & 3 rubygems