From 0b72cef7b93e80a2a16cf14718e46d8c0a38bd42 Mon Sep 17 00:00:00 2001 From: kojix2 <2xijok@gmail.com> Date: Wed, 29 Jul 2020 11:54:04 +0900 Subject: [PATCH] Prepare a test skeleton --- test/test_helper.rb | 2 +- test/uplot_test.rb | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/test/test_helper.rb b/test/test_helper.rb index e2b959d..a288e0d 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,4 +1,4 @@ $LOAD_PATH.unshift File.expand_path('../lib', __dir__) require 'uplot' -require 'minitest/autorun' +require 'test/unit' diff --git a/test/uplot_test.rb b/test/uplot_test.rb index 3790752..67edf95 100644 --- a/test/uplot_test.rb +++ b/test/uplot_test.rb @@ -1,11 +1,7 @@ require 'test_helper' -class UplotTest < Minitest::Test +class UplotTest < Test::Unit::TestCase def test_that_it_has_a_version_number - refute_nil ::Uplot::VERSION - end - - def test_it_does_something_useful - assert false + assert_kind_of String, ::Uplot::VERSION end end