Sha256: e7555f995f42b7081c524e1c62e2d9e077554f2e335ca717a5441fd121b14641
Contents?: true
Size: 600 Bytes
Versions: 10
Compression:
Stored size: 600 Bytes
Contents
require_relative 'helper' require 'minitest/around/unit' class OuterNestedTest < Minitest::Test @@var = [] def setup @@var << :before end def teardown @@var << :after @@var.must_equal [:before, :ibefore, :begin, :ibegin, :during, :iend, :end, :iafter, :after] end def around @@var << :begin yield @@var << :end end end class InnerNestedTest < OuterNestedTest def setup @@var << :ibefore end def teardown @@var << :iafter end def around @@var << :ibegin yield @@var << :iend end def test_nesting @@var << :during end end
Version data entries
10 entries across 10 versions & 2 rubygems