Sha256: 386c1462f8f9bca818c4193752a716d60e06e4ab2b5ca30a479ad75310d62984

Contents?: true

Size: 437 Bytes

Versions: 4

Compression:

Stored size: 437 Bytes

Contents

require_relative 'test_helper'

class AcceptanceTest < MiniTest::Unit::TestCase
  def test_works_with_actual_statsd
    Harness.config.collector = Statsd.new
    Harness.config.queue = Harness::SyncQueue.new

    Harness.increment 'foo', 0.6
    Harness.decrement 'foo', 0.5
    Harness.count 'foo', 5, 0.5

    Harness.gauge 'foo', 0.5, 0.1

    Harness.timing 'foo', 0.5, 0.1

    Harness.time 'foo', 1 do
      true
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
harness-2.0.0 test/acceptance_test.rb
harness-1.0.2 test/acceptance_test.rb
harness-1.0.1 test/acceptance_test.rb
harness-1.0.0 test/acceptance_test.rb