diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/nodes/test_ascending.rb | 2 | ||||
-rw-r--r-- | test/nodes/test_bin.rb | 2 | ||||
-rw-r--r-- | test/nodes/test_descending.rb | 2 | ||||
-rw-r--r-- | test/nodes/test_infix_operation.rb | 2 | ||||
-rw-r--r-- | test/nodes/test_named_function.rb | 2 | ||||
-rw-r--r-- | test/nodes/test_node.rb | 2 | ||||
-rw-r--r-- | test/nodes/test_select_core.rb | 2 | ||||
-rw-r--r-- | test/test_factory_methods.rb | 2 | ||||
-rw-r--r-- | test/visitors/test_bind_visitor.rb | 2 | ||||
-rw-r--r-- | test/visitors/test_depth_first.rb | 2 | ||||
-rw-r--r-- | test/visitors/test_dot.rb | 2 |
11 files changed, 11 insertions, 11 deletions
diff --git a/test/nodes/test_ascending.rb b/test/nodes/test_ascending.rb index 63d758a8a8..2991d46583 100644 --- a/test/nodes/test_ascending.rb +++ b/test/nodes/test_ascending.rb @@ -2,7 +2,7 @@ require 'helper' module Arel module Nodes - class TestAscending < MiniTest::Unit::TestCase + class TestAscending < Minitest::Test def test_construct ascending = Ascending.new 'zomg' assert_equal 'zomg', ascending.expr diff --git a/test/nodes/test_bin.rb b/test/nodes/test_bin.rb index c370c5755f..1d955b218b 100644 --- a/test/nodes/test_bin.rb +++ b/test/nodes/test_bin.rb @@ -2,7 +2,7 @@ require 'helper' module Arel module Nodes - class TestBin < MiniTest::Unit::TestCase + class TestBin < Minitest::Test def test_new assert Arel::Nodes::Bin.new('zomg') end diff --git a/test/nodes/test_descending.rb b/test/nodes/test_descending.rb index 22b456fd8d..fce71d69e9 100644 --- a/test/nodes/test_descending.rb +++ b/test/nodes/test_descending.rb @@ -2,7 +2,7 @@ require 'helper' module Arel module Nodes - class TestDescending < MiniTest::Unit::TestCase + class TestDescending < Minitest::Test def test_construct descending = Descending.new 'zomg' assert_equal 'zomg', descending.expr diff --git a/test/nodes/test_infix_operation.rb b/test/nodes/test_infix_operation.rb index b7b6b02d0f..bec226e395 100644 --- a/test/nodes/test_infix_operation.rb +++ b/test/nodes/test_infix_operation.rb @@ -2,7 +2,7 @@ require 'helper' module Arel module Nodes - class TestInfixOperation < MiniTest::Unit::TestCase + class TestInfixOperation < Minitest::Test def test_construct operation = InfixOperation.new :+, 1, 2 assert_equal :+, operation.operator diff --git a/test/nodes/test_named_function.rb b/test/nodes/test_named_function.rb index 9d16f9cbee..33830d9d43 100644 --- a/test/nodes/test_named_function.rb +++ b/test/nodes/test_named_function.rb @@ -2,7 +2,7 @@ require 'helper' module Arel module Nodes - class TestNamedFunction < MiniTest::Unit::TestCase + class TestNamedFunction < Minitest::Test def test_construct function = NamedFunction.new 'omg', 'zomg' assert_equal 'omg', function.name diff --git a/test/nodes/test_node.rb b/test/nodes/test_node.rb index 335cba8aab..056df7a584 100644 --- a/test/nodes/test_node.rb +++ b/test/nodes/test_node.rb @@ -1,7 +1,7 @@ require 'helper' module Arel - class TestNode < MiniTest::Unit::TestCase + class TestNode < Minitest::Test def test_includes_factory_methods assert Node.new.respond_to?(:create_join) end diff --git a/test/nodes/test_select_core.rb b/test/nodes/test_select_core.rb index e4ed06b853..9aca0cff16 100644 --- a/test/nodes/test_select_core.rb +++ b/test/nodes/test_select_core.rb @@ -2,7 +2,7 @@ require 'helper' module Arel module Nodes - class TestSelectCore < MiniTest::Unit::TestCase + class TestSelectCore < Minitest::Test def test_clone core = Arel::Nodes::SelectCore.new core.froms = %w[a b c] diff --git a/test/test_factory_methods.rb b/test/test_factory_methods.rb index 21671cd239..64d747610b 100644 --- a/test/test_factory_methods.rb +++ b/test/test_factory_methods.rb @@ -2,7 +2,7 @@ require 'helper' module Arel module FactoryMethods - class TestFactoryMethods < MiniTest::Unit::TestCase + class TestFactoryMethods < Minitest::Test class Factory include Arel::FactoryMethods end diff --git a/test/visitors/test_bind_visitor.rb b/test/visitors/test_bind_visitor.rb index dbcfb67df5..2bfd03c861 100644 --- a/test/visitors/test_bind_visitor.rb +++ b/test/visitors/test_bind_visitor.rb @@ -4,7 +4,7 @@ require 'support/fake_record' module Arel module Visitors - class TestBindVisitor < MiniTest::Unit::TestCase + class TestBindVisitor < Minitest::Test ## # Tests visit_Arel_Nodes_Assignment correctly diff --git a/test/visitors/test_depth_first.rb b/test/visitors/test_depth_first.rb index 05360ff6e8..cbaa780dae 100644 --- a/test/visitors/test_depth_first.rb +++ b/test/visitors/test_depth_first.rb @@ -2,7 +2,7 @@ require 'helper' module Arel module Visitors - class TestDepthFirst < MiniTest::Unit::TestCase + class TestDepthFirst < Minitest::Test Collector = Struct.new(:calls) do def call object calls << object diff --git a/test/visitors/test_dot.rb b/test/visitors/test_dot.rb index 362e39339c..ee7fc7886c 100644 --- a/test/visitors/test_dot.rb +++ b/test/visitors/test_dot.rb @@ -2,7 +2,7 @@ require 'helper' module Arel module Visitors - class TestDot < MiniTest::Unit::TestCase + class TestDot < Minitest::Test def setup @visitor = Visitors::Dot.new end |