test/test_resolver.rb in rubydns-0.7.3 vs test/test_resolver.rb in rubydns-0.8.0
- old
+ new
@@ -18,13 +18,14 @@
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
-require 'helper'
+require 'minitest/autorun'
+
require 'rubydns'
-class ResolverTest < Test::Unit::TestCase
+class ResolverTest < MiniTest::Test
def test_basic_resolver
resolver = RubyDNS::Resolver.new([[:udp, "8.8.8.8", 53], [:tcp, "8.8.8.8", 53]])
EventMachine::run do
resolver.query('google.com') do |response|