Sha256: f3f2c7f776e1f0b32eaef9f548c1cf792b7358be7125f9c153aaf304848a6030

Contents?: true

Size: 476 Bytes

Versions: 4

Compression:

Stored size: 476 Bytes

Contents

require File.expand_path('../../test_helper', __FILE__)

begin
  require "minitest"
rescue LoadError
end
begin
  require "minitest/unit"
rescue LoadError
end

require "mocha/setup"
require "integration/shared_tests"

if defined?(::Minitest) || defined?(MiniTest)
  testcase = defined?(Minitest::Test) ? Minitest::Test : MiniTest::Unit::TestCase
  class MiniTestTest < testcase
    include SharedTests
  end
else
  puts "MiniTest not available - no point in running tests."
end

Version data entries

4 entries across 4 versions & 3 rubygems

Version Path
tnargav-1.3.3 vendor/bundle/ruby/1.9.1/gems/mocha-0.14.0/test/integration/mini_test_test.rb
challah-1.0.0 vendor/bundle/gems/mocha-0.14.0/test/integration/mini_test_test.rb
tnargav-1.2.3 vendor/bundle/ruby/1.9.1/gems/mocha-0.14.0/test/integration/mini_test_test.rb
mocha-0.14.0 test/integration/mini_test_test.rb