Sha256: 6cef746b3f6b45043e1f9db7509803387f87d9a5f13e58df80d8d90e19670cbc
Contents?: true
Size: 411 Bytes
Versions: 4
Compression:
Stored size: 411 Bytes
Contents
require 'test_helper' class CustomMetricTest < ChilloutTestCase def setup @creations_container = MiniTest::Mock.new end def test_custom_creation @creations_container.expect(:nil?, false, []) @creations_container.expect(:increment!, nil, ['foo']) @custom_metric = Chillout::CustomMetric.new(@creations_container) @custom_metric.track('foo') @creations_container.verify end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
chillout-0.8.3 | test/custom_metric_test.rb |
chillout-0.8.2 | test/custom_metric_test.rb |
chillout-0.8.1 | test/custom_metric_test.rb |
chillout-0.8.0 | test/custom_metric_test.rb |