test/test_helper.rb in newrelic_rpm-3.5.3.25 vs test/test_helper.rb in newrelic_rpm-3.5.4.29.beta
- old
+ new
@@ -135,9 +135,15 @@
ensure
NewRelic::Agent.config.remove_config(config)
end
end
+module NewRelic
+ def self.fixture_path(name)
+ File.join(File.dirname(__FILE__), 'fixtures', name)
+ end
+end
+
module TransactionSampleTestHelper
module_function
def make_sql_transaction(*sql)
sampler = NewRelic::Agent::TransactionSampler.new
sampler.notice_first_scope_push Time.now.to_f