Sha256: a8ace39ee0f8e84e698c9ba90253f4d5cbf699421cf7a054cb0b405095365204
Contents?: true
Size: 799 Bytes
Versions: 4
Compression:
Stored size: 799 Bytes
Contents
require 'fileutils' def install_fixture_gems throw Error.new("Bugsnag.gem not found. Is this running in a docker-container?") unless File.exist?("/app/bugsnag.gem") Dir.entries('features/fixtures').reject { |entry| ['.', '..'].include?(entry) }.each do |entry| target_dir = "features/fixtures/#{entry}" if File.directory?(target_dir) `cp /app/bugsnag.gem #{target_dir}` `gem unpack #{target_dir}/bugsnag.gem --target #{target_dir}/temp-bugsnag-lib` end end end AfterConfiguration do |config| install_fixture_gems end Before do Docker.compose_project_name = "#{rand.to_s}:#{Time.new.strftime("%s")}" Runner.environment.clear Runner.environment["BUGSNAG_API_KEY"] = $api_key Runner.environment["BUGSNAG_ENDPOINT"] = "http://maze-runner:#{MOCK_API_PORT}" end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
bugsnag-6.15.0 | features/support/env.rb |
bugsnag-6.14.0 | features/support/env.rb |
bugsnag-6.13.1 | features/support/env.rb |
bugsnag-6.13.0 | features/support/env.rb |