Sha256: f06d50b565df247261fb22982f09c60d41180f144b5b2a800b29c7bb867555ad

Contents?: true

Size: 558 Bytes

Versions: 4

Compression:

Stored size: 558 Bytes

Contents

# Copyright (c) 2015 AppNeta, Inc.
# All rights reserved.

module TraceView
  module Test
    class << self
      def load_extras
        # If we're using the libraries gemfile (with sidekiq and resque)
        if File.basename(ENV['BUNDLE_GEMFILE']) =~ /libraries/
          # Load all of the test workers
          pattern = File.join(File.dirname(__FILE__), '../../test/jobs/', '*.rb')
          Dir.glob(pattern) do |f|
            TV.logger.debug "Loading test job file: #{f}"
            require f
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
traceview-3.3.1-java lib/traceview/test.rb
traceview-3.3.1 lib/traceview/test.rb
traceview-3.3.0-java lib/traceview/test.rb
traceview-3.3.0 lib/traceview/test.rb