test/unit/utils_tests.rb in assert-2.18.3 vs test/unit/utils_tests.rb in assert-2.18.4
- old
+ new
@@ -5,10 +5,12 @@
require "assert/config"
module Assert::Utils
class UnitTests < Assert::Context
desc "Assert::Utils"
- subject { Assert::Utils }
+ subject { unit_class }
+
+ let(:unit_class) { Assert::Utils }
let(:objs1) { [1, "hi there", Hash.new, [:a, :b]] }
should have_imeths :show, :show_for_diff
should have_imeths :tempfile