Skip to content

Commit

Permalink
MiniTest->Minitest
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Fisher committed May 23, 2024
1 parent af84dd2 commit 2422511
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion spec/oozone/brand_installers/illumos_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@

# Tests
#
class Test < MiniTest::Test
class Test < Minitest::Test
end
2 changes: 1 addition & 1 deletion spec/oozone/brand_installers/ipkg_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# Tests
#
class TestBrandInstallerIpkg < MiniTest::Test
class TestBrandInstallerIpkg < Minitest::Test
def setup
conf = Oozone::ConfigLoader.new(RES_DIR.join('test_zone_03.yaml'))
@t = Oozone::BrandInstaller::Ipkg.new(conf)
Expand Down
2 changes: 1 addition & 1 deletion spec/oozone/config_loader_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Test the config loader via its public interface.
#
class ConfigLoaderTest < MiniTest::Test
class ConfigLoaderTest < Minitest::Test
def setup
spy = Spy.on_instance_method(Oozone::ConfigLoader, :create_dataset)
@t1 = Oozone::ConfigLoader.new(RES_DIR.join('test_zone_01.yaml'))
Expand Down
2 changes: 1 addition & 1 deletion spec/oozone/constants_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@

# Tests
#
class Test < MiniTest::Test
class Test < Minitest::Test
end
2 changes: 1 addition & 1 deletion spec/oozone/controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Test the controller
#
class TestController < MiniTest::Test
class TestController < Minitest::Test
def setup
@t = Oozone::Controller.new('test-zone')
@execute = Spy.on(@t, :execute!)
Expand Down
2 changes: 1 addition & 1 deletion spec/oozone/customizer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

# Test the customizer class
#
class TestCustomizer < MiniTest::Test
class TestCustomizer < Minitest::Test
def setup
conf = Oozone::ConfigLoader.new(RES_DIR.join('test_zone_03.yaml'))
@t = Oozone::Customizer.new(conf)
Expand Down
2 changes: 1 addition & 1 deletion spec/oozone/dataset_manager_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# Test the ZFS dataset manager. Assumes you don't have a 'tester' pool with a
# 'test-zone' dataset.
#
class TestDatasetManager < MiniTest::Test
class TestDatasetManager < Minitest::Test
def setup
@t = Oozone::DatasetManager.new('tester/test-zone')
end
Expand Down
2 changes: 1 addition & 1 deletion spec/oozone/helpers_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@

# Tests
#
class Test < MiniTest::Test
class Test < Minitest::Test
end
2 changes: 1 addition & 1 deletion spec/oozone/installer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

# Test installer class
#
class TestInstaller < MiniTest::Test
class TestInstaller < Minitest::Test
def test_initialize_bad
assert_output(nil,
"'no-such-brand' zones are not supported by Oozone.\n") do
Expand Down
2 changes: 1 addition & 1 deletion spec/oozone/runner_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

# Test runner methods
#
class TestRunner < MiniTest::Test
class TestRunner < Minitest::Test
include Oozone::Runner

def test_execute!
Expand Down

0 comments on commit 2422511

Please sign in to comment.