test/dummy_tests/library_test.rb in minitest-spec-rails-6.2.0 vs test/dummy_tests/library_test.rb in minitest-spec-rails-7.0.0
- old
+ new
@@ -1,15 +1,15 @@
require 'test_helper_dummy'
require "#{Dummy::Application.root}/lib/library"
class LibraryTest < ActiveSupport::TestCase
it 'reflects' do
- described_class.must_equal Library
+ expect(described_class).must_equal Library
end
end
describe Library do
it 'reflects' do
- described_class.must_equal Library
- self.class.described_class.must_equal Library
+ expect(described_class).must_equal Library
+ expect(self.class.described_class).must_equal Library
end
end