1
0
Fork 0
mirror of https://github.com/mperham/connection_pool synced 2023-03-27 23:22:21 -04:00

Fix MiniTest name.

This commit is contained in:
Damian Janowski 2013-08-14 22:39:21 -03:00
parent 417638c6c4
commit fe092277e9
2 changed files with 3 additions and 6 deletions

View file

@ -1,15 +1,13 @@
require 'rubygems'
require 'minitest/unit'
require 'minitest/pride'
require 'minitest/autorun'
require 'connection_pool'
class Minitest::Unit::TestCase
class ConnectionPoolTest < MiniTest::Unit::TestCase
def async_test(time=0.5)
q = TimedQueue.new
yield Proc.new { q << nil }
q.timed_pop(time)
end
end

View file

@ -1,8 +1,7 @@
Thread.abort_on_exception = true
require 'helper'
class TestConnectionPool < Minitest::Test
Class.new(ConnectionPoolTest) do
class NetworkConnection
def initialize
@x = 0