Sha256: 6a3478f836eb5e6c944dd869030d84c1d6cb820aed7e41d4b16f17bad9a49f27
Contents?: true
Size: 631 Bytes
Versions: 42
Compression:
Stored size: 631 Bytes
Contents
module ConfigHelpers def project_fixture_path File.expand_path( File.join(File.dirname(__FILE__), "../fixtures/projects/valid") ) end def project_fixture_config(env = "production", initial_config = {}, logger = Appsignal.logger, # rubocop:disable Metrics/ParameterLists 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
42 entries across 42 versions & 1 rubygems