diff --git a/test/unit/fetchers/fetchers_test.rb b/test/unit/fetchers/fetchers_test.rb index d8c79f220..8e06b45ce 100644 --- a/test/unit/fetchers/fetchers_test.rb +++ b/test/unit/fetchers/fetchers_test.rb @@ -5,7 +5,7 @@ require 'helper' require 'bundles/inspec-supermarket/target' require 'bundles/inspec-supermarket/api' -describe Inspec::Fetcher do +describe "Inspec::Fetcher" do it 'loads the local fetcher for this file' do res = Inspec::Fetcher.resolve(__FILE__) res.must_be_kind_of Fetchers::Local diff --git a/test/unit/plugin/v2/api_dsl_test.rb b/test/unit/plugin/v2/api_dsl_test.rb index a574f7ee5..2a65c8511 100644 --- a/test/unit/plugin/v2/api_dsl_test.rb +++ b/test/unit/plugin/v2/api_dsl_test.rb @@ -14,7 +14,7 @@ module DslUnitTests :resource_dsl, ].each do |plugin_type_under_test| - Class.new(Minitest::Test) do + describe plugin_type_under_test do # Assign name to anonymous class, so test output is meaningful Object.const_set(plugin_type_under_test.to_s.upcase + '_UnitTests', self)