Sha256: 6d6089d5ef7b358095a7bde57e8ba2548ff3172b3c236bbac6cff15dad9b6481
Contents?: true
Size: 724 Bytes
Versions: 2
Compression:
Stored size: 724 Bytes
Contents
require 'test_helper' class CustomTest < ActiveSupport::IntegrationCase test 'controller access' do visit custom_path assert_equal 1, counters['custom.visits'][:value] assert_equal 3, counters['custom.events'][:value] assert_equal 12, aggregate['custom.timing'][:sum] assert_equal 2, aggregate['custom.timing'][:count] end test 'model class access' do visit custom_path assert_equal 3, counters['custom.model.lookups'][:value] assert_equal 19.0, aggregate['custom.model.search'][:sum] assert_equal 2, aggregate['custom.model.search'][:count] end test 'model instance access' do visit custom_path assert_equal 1, counters['custom.model.touch'][:value] end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
librato-rails-2.1.0 | test/integration/custom_test.rb |
librato-rails-2.0.0 | test/integration/custom_test.rb |