Sha256: 9558a03ca9456cb0b0e897c840bad2f40d03ed6a0b4af294ee119fe56d006fae
Contents?: true
Size: 656 Bytes
Versions: 40
Compression:
Stored size: 656 Bytes
Contents
module ConfigHelpers def project_fixture_path File.expand_path( File.join(File.dirname(__FILE__), "../fixtures/projects/valid") ) end def project_fixture_config( # rubocop:disable Metrics/ParameterLists env = "production", initial_config = {}, logger = Appsignal.internal_logger, config_file = nil ) Appsignal::Config.new( project_fixture_path, env, initial_config, logger, config_file ) end module_function :project_fixture_config, :project_fixture_path def start_agent(env = "production") Appsignal.config = project_fixture_config(env) Appsignal.start end end
Version data entries
40 entries across 40 versions & 1 rubygems