Sha256: 1d38cdde56981cb999b3b3ce38d9b0f7317afaf77b45177c99951166f3cdfdcf
Contents?: true
Size: 586 Bytes
Versions: 10
Compression:
Stored size: 586 Bytes
Contents
require_relative 'helper' require 'minitest/around' describe 'Outer' do let(:var) { [] } before do var << :before end after do var << :after var.must_equal [:before, :begin, :ibefore, :ibegin, :during, :iend, :iafter, :end, :after] end around do |test| var << :begin test.call var << :end end describe 'Inner' do before do var << :ibefore end after do var << :iafter end around do |test| var << :ibegin test.call var << :iend end it 'testing' do var << :during end end end
Version data entries
10 entries across 10 versions & 2 rubygems