Sha256: 6bcfa17bbe39a6994d768bdc8e88cb1f4d4a2f95c97b4aedf27a9ecae216a41b
Contents?: true
Size: 515 Bytes
Versions: 7
Compression:
Stored size: 515 Bytes
Contents
require File.expand_path(File.join(File.dirname(__FILE__),'..','test_helper')) class NewRelic::Agent::NoticedErrorTest < Test::Unit::TestCase def test_to_collector_array time = Time.now error = NewRelic::NoticedError.new('path', {'key' => 'val'}, Exception.new('test exception'), time) expected = [ (time.to_f * 1000).round, 'path', 'test exception', 'Exception', {'key' => 'val'} ] assert_equal expected, error.to_collector_array end end
Version data entries
7 entries across 7 versions & 2 rubygems