Sha256: 31b88377f270a06494e47b1109705a89bafe52bcde5ce52a55eb552b5bf4c02a
Contents?: true
Size: 475 Bytes
Versions: 78
Compression:
Stored size: 475 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 = {}, logger = Appsignal.logger) Appsignal::Config.new( project_fixture_path, env, initial_config, logger ) end def start_agent(env = "production") Appsignal.config = project_fixture_config(env) Appsignal.start end end
Version data entries
78 entries across 78 versions & 1 rubygems