test/cases/active_support_test.rb in minitest-spec-rails-6.2.0 vs test/cases/active_support_test.rb in minitest-spec-rails-7.0.0

- old
+ new

@@ -26,12 +26,12 @@ class ActiveSupportCallbackTest < ActiveSupport::TestCase setup :foo setup :bar it 'works' do - @foo.must_equal 'foo' - @bar.must_equal 'bar' + expect(@foo).must_equal 'foo' + expect(@bar).must_equal 'bar' end private def foo @@ -43,10 +43,10 @@ end end class ActiveSupportSpecTest < ActiveSupport::TestCase it 'current spec name' do - Thread.current[:current_spec].must_equal self + expect(Thread.current[:current_spec]).must_equal self end end class ActiveSupportDescribeNamesTest < ActiveSupport::TestCase it 'class name' do