diff --git a/test/helper.rb b/test/helper.rb index 222ebe5..ead7a86 100644 --- a/test/helper.rb +++ b/test/helper.rb @@ -4,7 +4,7 @@ require "kiba" if ENV["CI"] == "true" - puts "Running with MiniTest version #{MiniTest::VERSION}" + puts "Running with Minitest version #{Minitest::VERSION}" end class Kiba::Test < Minitest::Test diff --git a/test/shared_runner_tests.rb b/test/shared_runner_tests.rb index d9f93a2..65770c8 100644 --- a/test/shared_runner_tests.rb +++ b/test/shared_runner_tests.rb @@ -64,7 +64,7 @@ def test_pre_process_runs_once def test_pre_process_runs_before_source_is_instantiated calls = [] - mock_source_class = MiniTest::Mock.new + mock_source_class = Minitest::Mock.new mock_source_class.expect(:new, TestEnumerableSource.new([1, 2, 3])) do calls << :source_instantiated end @@ -80,9 +80,9 @@ def test_pre_process_runs_before_source_is_instantiated def test_no_error_raised_if_destination_close_not_implemented # NOTE: this fake destination does not implement `close` - destination_instance = MiniTest::Mock.new + destination_instance = Minitest::Mock.new - mock_destination_class = MiniTest::Mock.new + mock_destination_class = Minitest::Mock.new mock_destination_class.expect(:new, destination_instance) control = Kiba::Control.new @@ -92,9 +92,9 @@ def test_no_error_raised_if_destination_close_not_implemented end def test_destination_close_called_if_defined - destination_instance = MiniTest::Mock.new + destination_instance = Minitest::Mock.new destination_instance.expect(:close, nil) - mock_destination_class = MiniTest::Mock.new + mock_destination_class = Minitest::Mock.new mock_destination_class.expect(:new, destination_instance) control = Kiba::Control.new