From 1f56d1a2b5177dc772b3ed8384ce60a0c13e731c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Boutillier?= Date: Tue, 23 Jul 2024 09:42:49 +0200 Subject: [PATCH] Replace old MiniTest namespace by Minitest --- test/functional/auto_shop_available_test.rb | 2 +- test/functional/auto_shop_busy_test.rb | 2 +- test/functional/car_backing_up_test.rb | 2 +- test/functional/car_test.rb | 2 +- test/functional/driver_default_nonstandard_test.rb | 2 +- test/functional/hybrid_car_test.rb | 2 +- test/functional/motorcycle_test.rb | 2 +- test/functional/traffic_light_caution_test.rb | 2 +- test/functional/traffic_light_proceed_test.rb | 2 +- test/functional/traffic_light_stop_test.rb | 2 +- test/functional/vehicle_first_gear_test.rb | 2 +- test/functional/vehicle_idling_test.rb | 2 +- test/functional/vehicle_locked_test.rb | 2 +- test/functional/vehicle_parked_test.rb | 2 +- test/functional/vehicle_repaired_test.rb | 2 +- test/functional/vehicle_second_gear_test.rb | 2 +- test/functional/vehicle_stalled_test.rb | 2 +- test/functional/vehicle_test.rb | 2 +- test/functional/vehicle_third_gear_test.rb | 2 +- test/functional/vehicle_unsaved_test.rb | 2 +- test/functional/vehicle_with_event_attributes_test.rb | 2 +- test/functional/vehicle_with_parallel_events_test.rb | 2 +- test/test_helper.rb | 2 +- 23 files changed, 23 insertions(+), 23 deletions(-) diff --git a/test/functional/auto_shop_available_test.rb b/test/functional/auto_shop_available_test.rb index 87a5511..a0f3df1 100644 --- a/test/functional/auto_shop_available_test.rb +++ b/test/functional/auto_shop_available_test.rb @@ -1,7 +1,7 @@ require 'test_helper' require 'files/models/auto_shop' -class AutoShopAvailableTest < MiniTest::Test +class AutoShopAvailableTest < Minitest::Test def setup @auto_shop = AutoShop.new end diff --git a/test/functional/auto_shop_busy_test.rb b/test/functional/auto_shop_busy_test.rb index b446931..ef02261 100644 --- a/test/functional/auto_shop_busy_test.rb +++ b/test/functional/auto_shop_busy_test.rb @@ -1,7 +1,7 @@ require 'test_helper' require 'files/models/auto_shop' -class AutoShopBusyTest < MiniTest::Test +class AutoShopBusyTest < Minitest::Test def setup @auto_shop = AutoShop.new @auto_shop.tow_vehicle diff --git a/test/functional/car_backing_up_test.rb b/test/functional/car_backing_up_test.rb index d0de536..046ae87 100644 --- a/test/functional/car_backing_up_test.rb +++ b/test/functional/car_backing_up_test.rb @@ -1,7 +1,7 @@ require 'test_helper' require 'files/models/car' -class CarBackingUpTest < MiniTest::Test +class CarBackingUpTest < Minitest::Test def setup @car = Car.new @car.reverse diff --git a/test/functional/car_test.rb b/test/functional/car_test.rb index 4206f9a..db3fd0d 100644 --- a/test/functional/car_test.rb +++ b/test/functional/car_test.rb @@ -1,7 +1,7 @@ require 'test_helper' require 'files/models/car' -class CarTest < MiniTest::Test +class CarTest < Minitest::Test def setup @car = Car.new end diff --git a/test/functional/driver_default_nonstandard_test.rb b/test/functional/driver_default_nonstandard_test.rb index 5db1588..44df87f 100644 --- a/test/functional/driver_default_nonstandard_test.rb +++ b/test/functional/driver_default_nonstandard_test.rb @@ -1,7 +1,7 @@ require 'test_helper' require 'files/models/driver' -class DriverNonstandardTest < MiniTest::Test +class DriverNonstandardTest < Minitest::Test def setup @driver = Driver.new @events = Driver.state_machine.events diff --git a/test/functional/hybrid_car_test.rb b/test/functional/hybrid_car_test.rb index f0c8804..4133ad3 100644 --- a/test/functional/hybrid_car_test.rb +++ b/test/functional/hybrid_car_test.rb @@ -1,7 +1,7 @@ require 'test_helper' require 'files/models/hybrid_car' -class HybridCarTest < MiniTest::Test +class HybridCarTest < Minitest::Test def setup @hybrid_car = HybridCar.new end diff --git a/test/functional/motorcycle_test.rb b/test/functional/motorcycle_test.rb index 015cdab..32846b9 100644 --- a/test/functional/motorcycle_test.rb +++ b/test/functional/motorcycle_test.rb @@ -1,7 +1,7 @@ require 'test_helper' require 'files/models/motorcycle' -class MotorcycleTest < MiniTest::Test +class MotorcycleTest < Minitest::Test def setup @motorcycle = Motorcycle.new end diff --git a/test/functional/traffic_light_caution_test.rb b/test/functional/traffic_light_caution_test.rb index 668b6b8..b546c7e 100644 --- a/test/functional/traffic_light_caution_test.rb +++ b/test/functional/traffic_light_caution_test.rb @@ -1,7 +1,7 @@ require 'test_helper' require 'files/models/traffic_light' -class TrafficLightCautionTest < MiniTest::Test +class TrafficLightCautionTest < Minitest::Test def setup @light = TrafficLight.new @light.state = 'caution' diff --git a/test/functional/traffic_light_proceed_test.rb b/test/functional/traffic_light_proceed_test.rb index fecf6f7..4805033 100644 --- a/test/functional/traffic_light_proceed_test.rb +++ b/test/functional/traffic_light_proceed_test.rb @@ -1,7 +1,7 @@ require 'test_helper' require 'files/models/traffic_light' -class TrafficLightProceedTest < MiniTest::Test +class TrafficLightProceedTest < Minitest::Test def setup @light = TrafficLight.new @light.state = 'proceed' diff --git a/test/functional/traffic_light_stop_test.rb b/test/functional/traffic_light_stop_test.rb index 18720ac..795e4ab 100644 --- a/test/functional/traffic_light_stop_test.rb +++ b/test/functional/traffic_light_stop_test.rb @@ -1,7 +1,7 @@ require 'test_helper' require 'files/models/traffic_light' -class TrafficLightStopTest < MiniTest::Test +class TrafficLightStopTest < Minitest::Test def setup @light = TrafficLight.new @light.state = 'stop' diff --git a/test/functional/vehicle_first_gear_test.rb b/test/functional/vehicle_first_gear_test.rb index 1bd8eb1..88e11a0 100644 --- a/test/functional/vehicle_first_gear_test.rb +++ b/test/functional/vehicle_first_gear_test.rb @@ -1,7 +1,7 @@ require 'test_helper' require 'files/models/vehicle' -class VehicleFirstGearTest < MiniTest::Test +class VehicleFirstGearTest < Minitest::Test def setup @vehicle = Vehicle.new @vehicle.ignite diff --git a/test/functional/vehicle_idling_test.rb b/test/functional/vehicle_idling_test.rb index e1ea2f7..c07be51 100644 --- a/test/functional/vehicle_idling_test.rb +++ b/test/functional/vehicle_idling_test.rb @@ -1,7 +1,7 @@ require 'test_helper' require 'files/models/vehicle' -class VehicleIdlingTest < MiniTest::Test +class VehicleIdlingTest < Minitest::Test def setup @vehicle = Vehicle.new @vehicle.ignite diff --git a/test/functional/vehicle_locked_test.rb b/test/functional/vehicle_locked_test.rb index f5e29a6..9858d0e 100644 --- a/test/functional/vehicle_locked_test.rb +++ b/test/functional/vehicle_locked_test.rb @@ -1,7 +1,7 @@ require 'test_helper' require 'files/models/vehicle' -class VehicleLockedTest < MiniTest::Test +class VehicleLockedTest < Minitest::Test def setup @vehicle = Vehicle.new @vehicle.state = 'locked' diff --git a/test/functional/vehicle_parked_test.rb b/test/functional/vehicle_parked_test.rb index 9ab3b3a..cfcef6f 100644 --- a/test/functional/vehicle_parked_test.rb +++ b/test/functional/vehicle_parked_test.rb @@ -1,7 +1,7 @@ require 'test_helper' require 'files/models/vehicle' -class VehicleParkedTest < MiniTest::Test +class VehicleParkedTest < Minitest::Test def setup @vehicle = Vehicle.new end diff --git a/test/functional/vehicle_repaired_test.rb b/test/functional/vehicle_repaired_test.rb index 729536e..c21cfab 100644 --- a/test/functional/vehicle_repaired_test.rb +++ b/test/functional/vehicle_repaired_test.rb @@ -1,7 +1,7 @@ require 'test_helper' require 'files/models/vehicle' -class VehicleRepairedTest < MiniTest::Test +class VehicleRepairedTest < Minitest::Test def setup @vehicle = Vehicle.new @vehicle.ignite diff --git a/test/functional/vehicle_second_gear_test.rb b/test/functional/vehicle_second_gear_test.rb index 1b43e43..86716d5 100644 --- a/test/functional/vehicle_second_gear_test.rb +++ b/test/functional/vehicle_second_gear_test.rb @@ -1,7 +1,7 @@ require 'test_helper' require 'files/models/vehicle' -class VehicleSecondGearTest < MiniTest::Test +class VehicleSecondGearTest < Minitest::Test def setup @vehicle = Vehicle.new @vehicle.ignite diff --git a/test/functional/vehicle_stalled_test.rb b/test/functional/vehicle_stalled_test.rb index 3ba6f8a..da92fb3 100644 --- a/test/functional/vehicle_stalled_test.rb +++ b/test/functional/vehicle_stalled_test.rb @@ -1,7 +1,7 @@ require 'test_helper' require 'files/models/vehicle' -class VehicleStalledTest < MiniTest::Test +class VehicleStalledTest < Minitest::Test def setup @vehicle = Vehicle.new @vehicle.ignite diff --git a/test/functional/vehicle_test.rb b/test/functional/vehicle_test.rb index 931dc46..2f2f754 100644 --- a/test/functional/vehicle_test.rb +++ b/test/functional/vehicle_test.rb @@ -1,7 +1,7 @@ require 'test_helper' require 'files/models/vehicle' -class VehicleTest < MiniTest::Test +class VehicleTest < Minitest::Test def setup @vehicle = Vehicle.new end diff --git a/test/functional/vehicle_third_gear_test.rb b/test/functional/vehicle_third_gear_test.rb index 3a70a0e..ecc1452 100644 --- a/test/functional/vehicle_third_gear_test.rb +++ b/test/functional/vehicle_third_gear_test.rb @@ -1,7 +1,7 @@ require 'test_helper' require 'files/models/vehicle' -class VehicleThirdGearTest < MiniTest::Test +class VehicleThirdGearTest < Minitest::Test def setup @vehicle = Vehicle.new @vehicle.ignite diff --git a/test/functional/vehicle_unsaved_test.rb b/test/functional/vehicle_unsaved_test.rb index de1be34..ff41e3c 100644 --- a/test/functional/vehicle_unsaved_test.rb +++ b/test/functional/vehicle_unsaved_test.rb @@ -1,7 +1,7 @@ require 'test_helper' require 'files/models/vehicle' -class VehicleUnsavedTest < MiniTest::Test +class VehicleUnsavedTest < Minitest::Test def setup @vehicle = Vehicle.new end diff --git a/test/functional/vehicle_with_event_attributes_test.rb b/test/functional/vehicle_with_event_attributes_test.rb index 47b25f0..8034b6d 100644 --- a/test/functional/vehicle_with_event_attributes_test.rb +++ b/test/functional/vehicle_with_event_attributes_test.rb @@ -1,7 +1,7 @@ require 'test_helper' require 'files/models/vehicle' -class VehicleWithEventAttributesTest < MiniTest::Test +class VehicleWithEventAttributesTest < Minitest::Test def setup @vehicle = Vehicle.new @vehicle.state_event = 'ignite' diff --git a/test/functional/vehicle_with_parallel_events_test.rb b/test/functional/vehicle_with_parallel_events_test.rb index ea1d0d1..663c671 100644 --- a/test/functional/vehicle_with_parallel_events_test.rb +++ b/test/functional/vehicle_with_parallel_events_test.rb @@ -1,7 +1,7 @@ require 'test_helper' require 'files/models/vehicle' -class VehicleWithParallelEventsTest < MiniTest::Test +class VehicleWithParallelEventsTest < Minitest::Test def setup @vehicle = Vehicle.new end diff --git a/test/test_helper.rb b/test/test_helper.rb index 336a80b..775f6b5 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -7,7 +7,7 @@ require 'minitest/reporters' Minitest::Reporters.use! [Minitest::Reporters::ProgressReporter.new] -class StateMachinesTest < MiniTest::Test +class StateMachinesTest < Minitest::Test def before_setup super StateMachines::Integrations.reset