Sha256: d506c9c22ca37885f8ccabf5327356928ce8875e14ec57ce5a5a7e8cdf2b6118

Contents?: true

Size: 419 Bytes

Versions: 2

Compression:

Stored size: 419 Bytes

Contents

class ActiveSupport::IntegrationCase < ActiveSupport::TestCase
  include Capybara::DSL
  include Rails.application.routes.url_helpers

  setup do
    # remove any accumulated metrics
    collector.delete_all
  end

  private

  def aggregate
    collector.aggregate
  end

  def collector
    Librato.tracker.collector
  end

  def counters
    collector.counters
  end

  def default_tags
    collector.tags
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
librato-rails-2.1.0 test/support/integration_case.rb
librato-rails-2.0.0 test/support/integration_case.rb