Sha256: 9396c7d0389c0f16d427eedfa670253bf9891dbac94c51e5c0037e62ac81b5e3
Contents?: true
Size: 457 Bytes
Versions: 8
Compression:
Stored size: 457 Bytes
Contents
require 'test_helper' class MemoryAdapterTest < MiniTest::Unit::TestCase def setup Harness::MemoryAdapter.counters.clear Harness::MemoryAdapter.gauges.clear @adapter = Harness::MemoryAdapter.new end def test_log_gauge_adds_to_gauges @adapter.log_gauge :foo assert_includes @adapter.gauges, :foo end def test_log_counter_adds_to_counters @adapter.log_counter :bar assert_includes @adapter.counters, :bar end end
Version data entries
8 entries across 8 versions & 1 rubygems