test/dummy_tests/user_test.rb in minitest-spec-rails-5.4.0 vs test/dummy_tests/user_test.rb in minitest-spec-rails-5.5.0

- old
+ new

@@ -1,11 +1,10 @@ require 'test_helper_dummy' module UserTests extend ActiveSupport::Concern included do - it 'works' do user_ken.must_be_instance_of User end test 'works with test' do @@ -15,25 +14,20 @@ it 'allows custom assertions' do assert_not false end describe 'nested 1' do - it('works') { skip } describe 'nested 2' do - it('works') { skip } - end test 'works with test' do user_ken.must_be_instance_of User end - end - end end class UserTest < ActiveSupport::TestCase include UserTests @@ -41,15 +35,15 @@ described_class.must_equal User self.class.described_class.must_equal User end describe 'level 1' do it 'reflects' do - described_class.must_equal User + described_class.must_equal User self.class.described_class.must_equal User end describe 'level 2' do it 'reflects' do - described_class.must_equal User + described_class.must_equal User self.class.described_class.must_equal User end end end end