test/cases/active_support_test.rb in minitest-spec-rails-4.7.5 vs test/cases/active_support_test.rb in minitest-spec-rails-4.7.6
- old
+ new
@@ -38,6 +38,22 @@
private
def foo ; @foo = 'foo' ; end
def bar ; @bar = 'bar' ; end
-end
\ No newline at end of file
+end
+
+class ActiveSupportDescribeNamesTest < ActiveSupport::TestCase
+ it 'class name' do
+ assert_equal 'ActiveSupportDescribeNamesTest', self.class.name
+ end
+ describe 'level1' do
+ it 'haz name' do
+ assert_equal 'ActiveSupportDescribeNamesTest::level1', self.class.name
+ end
+ describe 'level2' do
+ it 'haz name' do
+ assert_equal 'ActiveSupportDescribeNamesTest::level1::level2', self.class.name
+ end
+ end
+ end
+end