File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 3333# -----------------------------------------------------------------------------
3434;
3535
36- require 'test/unit '
36+ require 'minitest/autorun '
3737require 'rgeo/active_record/adapter_test_helper'
3838
3939
@@ -42,10 +42,10 @@ module ActiveRecord # :nodoc:
4242 module Mysql2SpatialAdapter # :nodoc:
4343 module Tests # :nodoc:
4444
45- class TestBasic < ::Test :: Unit :: TestCase # :nodoc:
45+ class TestBasic < ::Minitest :: Test # :nodoc:
4646
4747 DATABASE_CONFIG_PATH = ::File . dirname ( __FILE__ ) +'/database.yml'
48- include AdapterTestHelper
48+ include RGeo :: ActiveRecord :: AdapterTestHelper
4949
5050 define_test_methods do
5151
@@ -63,7 +63,7 @@ def populate_ar_class(content_)
6363
6464
6565 def test_version
66- assert_not_nil ( ::ActiveRecord ::ConnectionAdapters ::Mysql2SpatialAdapter ::VERSION )
66+ refute_nil ( ::ActiveRecord ::ConnectionAdapters ::Mysql2SpatialAdapter ::VERSION )
6767 end
6868
6969
Original file line number Diff line number Diff line change 3333# -----------------------------------------------------------------------------
3434;
3535
36- require 'test/unit '
36+ require 'minitest/autorun '
3737require 'rgeo/active_record/adapter_test_helper'
3838
3939
@@ -42,10 +42,10 @@ module ActiveRecord # :nodoc:
4242 module Mysql2SpatialAdapter # :nodoc:
4343 module Tests # :nodoc:
4444
45- class TestSpatialQueries < ::Test :: Unit :: TestCase # :nodoc:
45+ class TestSpatialQueries < ::Minitest :: Test # :nodoc:
4646
4747 DATABASE_CONFIG_PATH = ::File . dirname ( __FILE__ ) +'/database.yml'
48- include AdapterTestHelper
48+ include RGeo :: ActiveRecord :: AdapterTestHelper
4949
5050 define_test_methods do
5151
You can’t perform that action at this time.
0 commit comments