Sha256: 26b2b11bc5dc7f8d449e02e2afb381a185eec49aba04054e15a848b8c5cf3ef9
Contents?: true
Size: 537 Bytes
Versions: 1
Compression:
Stored size: 537 Bytes
Contents
require 'test_helper' class InstrumentActionTest < ActiveSupport::IntegrationCase test 'instrument controller action' do visit instrument_action_path # puts aggregate.instance_variable_get(:@cache).queued.inspect # puts counters.instance_variable_get(:@cache).inspect base = 'rails.action.InstrumentActionController.inst.html' timings = %w{time time.db time.view} timings.each do |t| assert_equal 1, aggregate["#{base}.#{t}"][:count] end assert_equal 1, counters["#{base}.total"] end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
librato-rails-0.11.0 | test/integration/instrument_action_test.rb |