test/unit/config_tests.rb in assert-2.18.3 vs test/unit/config_tests.rb in assert-2.18.4

- old
+ new

@@ -8,12 +8,17 @@ require "assert/runner" class Assert::Config class UnitTests < Assert::Context desc "Assert::Config" - subject { config1 } + subject { unit_class } - let(:config1) { Assert::Config.new } + let(:unit_class) { Assert::Config } + end + + class InitTests < UnitTests + desc "when init" + subject { unit_class.new } should have_imeths :view, :suite, :runner should have_imeths :test_dir, :test_helper, :test_file_suffixes should have_imeths :changed_proc, :pp_proc, :use_diff_proc, :run_diff_proc should have_imeths :runner_seed, :changed_only, :changed_ref, :single_test