Skip to content

Commit

Permalink
Use minitest
Browse files Browse the repository at this point in the history
  • Loading branch information
teeparham committed Dec 8, 2018
1 parent 880e3f0 commit 68ffdb3
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 14 deletions.
3 changes: 1 addition & 2 deletions rgeo-proj4.gemspec
Expand Up @@ -17,8 +17,7 @@ Gem::Specification.new do |spec|

spec.add_dependency "rgeo", "~> 2.0"

spec.add_development_dependency "bundler", "~> 1.16"
spec.add_development_dependency "minitest", "~> 5.11"
spec.add_development_dependency "rake", "~> 12.0"
spec.add_development_dependency "rake-compiler", "~> 1.0"
spec.add_development_dependency "test-unit", "~> 3.0"
end
2 changes: 1 addition & 1 deletion test/coord_sys/proj4_srs_data_test.rb
Expand Up @@ -2,7 +2,7 @@

require "test_helper"

class TestProj4SRSData < Test::Unit::TestCase # :nodoc:
class TestProj4SRSData < Minitest::Test # :nodoc:
def test_epsg_4326
db_ = RGeo::CoordSys::SRSDatabase::Proj4Data.new("epsg")
entry_ = db_.get(4326)
Expand Down
2 changes: 1 addition & 1 deletion test/coord_sys/proj4_test.rb
Expand Up @@ -2,7 +2,7 @@

require "test_helper"

class TestProj4 < Test::Unit::TestCase # :nodoc:
class TestProj4 < Minitest::Test # :nodoc:
def test_proj4_version
assert_kind_of Integer, RGeo::CoordSys::Proj4.version
# assert_match(/^\d+\.\d+(\.\d+)?$/, RGeo::CoordSys::Proj4.version)
Expand Down
2 changes: 1 addition & 1 deletion test/proj4_test.rb
Expand Up @@ -2,7 +2,7 @@

require "test_helper"

class Proj4Test < Test::Unit::TestCase
class Proj4Test < Minitest::Test
def test_gem_version
assert_match(/^\d+\.\d+(\.\d+)(\.rc\d+)?$/, RGeo::Proj4::VERSION)
end
Expand Down
2 changes: 1 addition & 1 deletion test/projected_geographic/factory_test.rb
Expand Up @@ -2,7 +2,7 @@

require "test_helper"

class TestFactory < Test::Unit::TestCase # :nodoc:
class TestFactory < Minitest::Test # :nodoc:
include RGeo::Tests::Common::FactoryTests

def setup
Expand Down
2 changes: 1 addition & 1 deletion test/projected_geographic/geometry_collection_test.rb
Expand Up @@ -3,7 +3,7 @@
require "test_helper"
require "common/geometry_collection_tests"

class TestGeometryCollection < Test::Unit::TestCase # :nodoc:
class TestGeometryCollection < Minitest::Test # :nodoc:
include RGeo::Tests::Common::GeometryCollectionTests

def create_factory
Expand Down
2 changes: 1 addition & 1 deletion test/projected_geographic/line_string_test.rb
Expand Up @@ -3,7 +3,7 @@
require "test_helper"
require "common/line_string_tests"

class TestLineString < Test::Unit::TestCase # :nodoc:
class TestLineString < Minitest::Test # :nodoc:
include RGeo::Tests::Common::LineStringTests

def setup
Expand Down
2 changes: 1 addition & 1 deletion test/projected_geographic/multi_line_string_test.rb
Expand Up @@ -3,7 +3,7 @@
require "test_helper"
require "common/multi_line_string_tests"

class TestMultiLineString < Test::Unit::TestCase # :nodoc:
class TestMultiLineString < Minitest::Test # :nodoc:
include RGeo::Tests::Common::MultiLineStringTests

def create_factory
Expand Down
2 changes: 1 addition & 1 deletion test/projected_geographic/multi_point_test.rb
Expand Up @@ -3,7 +3,7 @@
require "test_helper"
require "common/multi_point_tests"

class TestMultiPoint < Test::Unit::TestCase # :nodoc:
class TestMultiPoint < Minitest::Test # :nodoc:
include RGeo::Tests::Common::MultiPointTests

def create_factory(opts_ = {})
Expand Down
2 changes: 1 addition & 1 deletion test/projected_geographic/multi_polygon_test.rb
Expand Up @@ -3,7 +3,7 @@
require "test_helper"
require "common/multi_polygon_tests"

class TestMultiPolygon < Test::Unit::TestCase # :nodoc:
class TestMultiPolygon < Minitest::Test # :nodoc:
include RGeo::Tests::Common::MultiPolygonTests

def create_factories
Expand Down
2 changes: 1 addition & 1 deletion test/projected_geographic/point_test.rb
Expand Up @@ -3,7 +3,7 @@
require "test_helper"
require "common/point_tests"

class TestPoint < Test::Unit::TestCase # :nodoc:
class TestPoint < Minitest::Test # :nodoc:
include RGeo::Tests::Common::PointTests

def setup
Expand Down
2 changes: 1 addition & 1 deletion test/projected_geographic/polygon_test.rb
Expand Up @@ -3,7 +3,7 @@
require "test_helper"
require "common/polygon_tests"

class TestPolygon < Test::Unit::TestCase # :nodoc:
class TestPolygon < Minitest::Test # :nodoc:
include RGeo::Tests::Common::PolygonTests

def setup
Expand Down
2 changes: 1 addition & 1 deletion test/test_helper.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true

require "test/unit"
require "minitest/autorun"
require "rgeo/proj4"
require "common/factory_tests"
require "psych"
Expand Down

0 comments on commit 68ffdb3

Please sign in to comment.