Sha256: e7481715ce82863cd8b8a53bfbbf59dfffc3ff1e2dd85ff6806f5b56acc2793f

Contents?: true

Size: 317 Bytes

Versions: 6

Compression:

Stored size: 317 Bytes

Contents

require 'test_helper'

class ChilloutModuleTest < ChilloutTestCase
  def setup
    Chillout.creations = nil
  end

  def teardown
    Chillout.creations = nil
  end

  def test_custom_metrics
    Chillout::Metric.track('RegistrationCompleted')
    assert_equal 1, Chillout.creations['RegistrationCompleted']
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
chillout-0.8.9 test/chillout_test.rb
chillout-0.8.5.1 test/chillout_test.rb
chillout-0.8.8 test/chillout_test.rb
chillout-0.8.7 test/chillout_test.rb
chillout-0.8.6 test/chillout_test.rb
chillout-0.8.5 test/chillout_test.rb