summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/helper.rb2
-rw-r--r--test/psych/test_parser.rb5
-rw-r--r--test/psych/test_tree_builder.rb5
-rw-r--r--test/test_psych.rb5
-rw-r--r--test/visitors/test_to_ruby.rb5
5 files changed, 12 insertions, 10 deletions
diff --git a/test/helper.rb b/test/helper.rb
deleted file mode 100644
index 8e77fed..0000000
--- a/test/helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-require "test/unit"
-require "psych"
diff --git a/test/psych/test_parser.rb b/test/psych/test_parser.rb
index 6cb113f..9c257a3 100644
--- a/test/psych/test_parser.rb
+++ b/test/psych/test_parser.rb
@@ -1,7 +1,8 @@
-require 'helper'
+require 'minitest/autorun'
+require 'psych'
module Psych
- class TestParser < Test::Unit::TestCase
+ class TestParser < MiniTest::Unit::TestCase
class EventCatcher < Handler
attr_reader :calls
def initialize
diff --git a/test/psych/test_tree_builder.rb b/test/psych/test_tree_builder.rb
index 846532c..e916f31 100644
--- a/test/psych/test_tree_builder.rb
+++ b/test/psych/test_tree_builder.rb
@@ -1,7 +1,8 @@
-require 'helper'
+require 'minitest/autorun'
+require 'psych'
module Psych
- class TestTreeBuilder < Test::Unit::TestCase
+ class TestTreeBuilder < MiniTest::Unit::TestCase
def setup
@parser = Psych::Parser.new TreeBuilder.new
@parser.parse(<<-eoyml)
diff --git a/test/test_psych.rb b/test/test_psych.rb
index cc32740..865024f 100644
--- a/test/test_psych.rb
+++ b/test/test_psych.rb
@@ -1,6 +1,7 @@
-require 'helper'
+require 'minitest/autorun'
+require 'psych'
-class TestPsych < Test::Unit::TestCase
+class TestPsych < MiniTest::Unit::TestCase
#def test_simple
# assert_equal 'foo', Psych.parse("--- foo\n")
#end
diff --git a/test/visitors/test_to_ruby.rb b/test/visitors/test_to_ruby.rb
index cb7d363..0d2bbf4 100644
--- a/test/visitors/test_to_ruby.rb
+++ b/test/visitors/test_to_ruby.rb
@@ -1,8 +1,9 @@
-require 'helper'
+require 'minitest/autorun'
+require 'psych'
module Psych
module Visitors
- class TestToRuby < Test::Unit::TestCase
+ class TestToRuby < MiniTest::Unit::TestCase
def setup
@visitor = ToRuby.new
end