Sha256: d4c621735a5d0f5c24022187f7f8ab3dd8e78bc47f0a04f58efd8f8739308c17
Contents?: true
Size: 434 Bytes
Versions: 25
Compression:
Stored size: 434 Bytes
Contents
module ConfigHelpers def project_fixture_path File.expand_path( File.join(File.dirname(__FILE__), "../project_fixture") ) end def project_fixture_config(env = "production", initial_config = {}) Appsignal::Config.new( project_fixture_path, env, initial_config ) end def start_agent(env = "production") Appsignal.config = project_fixture_config(env) Appsignal.start end end
Version data entries
25 entries across 25 versions & 1 rubygems