mirror of
https://github.com/mperham/connection_pool
synced 2023-03-27 23:22:21 -04:00
Upgrade to minitest 5
This commit is contained in:
parent
7f4d56313d
commit
621d3a5dfa
3 changed files with 4 additions and 7 deletions
|
@ -15,4 +15,5 @@ Gem::Specification.new do |s|
|
|||
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
||||
s.require_paths = ["lib"]
|
||||
s.license = "MIT"
|
||||
s.add_development_dependency 'minitest', '>= 5.0.0'
|
||||
end
|
||||
|
|
|
@ -2,9 +2,9 @@ require 'rubygems'
|
|||
require 'minitest/pride'
|
||||
require 'minitest/autorun'
|
||||
|
||||
puts RUBY_DESCRIPTION
|
||||
require 'connection_pool'
|
||||
|
||||
class MiniTest::Unit::TestCase
|
||||
class Minitest::Unit::TestCase
|
||||
|
||||
def async_test(time=0.5)
|
||||
q = TimedQueue.new
|
||||
|
@ -13,7 +13,3 @@ class MiniTest::Unit::TestCase
|
|||
end
|
||||
|
||||
end
|
||||
|
||||
$VERBOSE = 1
|
||||
|
||||
require_relative '../lib/connection_pool'
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Thread.abort_on_exception = true
|
||||
require 'helper'
|
||||
|
||||
class TestConnectionPool < MiniTest::Unit::TestCase
|
||||
class TestConnectionPool < Minitest::Test
|
||||
|
||||
class NetworkConnection
|
||||
def initialize
|
||||
|
|
Loading…
Reference in a new issue