Sha256: 1f54ea8f70828deb1639a5e498b28c7e45fd22eee4628814a5a156c740deadb1

Contents?: true

Size: 855 Bytes

Versions: 7

Compression:

Stored size: 855 Bytes

Contents

RUBY_1_8 = defined?(RUBY_VERSION) && RUBY_VERSION < '1.9'
JRUBY    = defined?(JRUBY_VERSION)

if RUBY_1_8
  puts "Tests for '#{File.expand_path('../..', __FILE__).split('/').last}' not supported on Ruby #{RUBY_VERSION}"
  exit(0)
end

if ENV['COVERAGE'] && ENV['CI'].nil? && !RUBY_1_8
  require 'simplecov'
  SimpleCov.start { add_filter "/test|test_/" }
end

if ENV['CI'] && !RUBY_1_8
  require 'simplecov'
  require 'simplecov-rcov'
  SimpleCov.formatter = SimpleCov::Formatter::RcovFormatter
  SimpleCov.start { add_filter "/test|test_|ansi" }
end

require 'test/unit'
require 'shoulda-context'
require 'mocha/setup'
require 'ansi/code'
require 'turn' unless ENV["TM_FILEPATH"] || ENV["NOTURN"] || RUBY_1_8

require 'elasticsearch/extensions'

module Elasticsearch
  module Test
    class IntegrationTestCase < ::Test::Unit::TestCase
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
elasticsearch-extensions-0.0.20 test/test_helper.rb
elasticsearch-extensions-0.0.19 test/test_helper.rb
elasticsearch-extensions-0.0.18 test/test_helper.rb
elasticsearch-extensions-0.0.17 test/test_helper.rb
elasticsearch-extensions-0.0.16 test/test_helper.rb
elasticsearch-extensions-0.0.15 test/test_helper.rb
elasticsearch-extensions-0.0.14 test/test_helper.rb