test/nested_spec.rb in minitest-around-0.2.0.pre vs test/nested_spec.rb in minitest-around-0.2.0.pre2
- old
+ new
@@ -1,16 +1,16 @@
-require 'minitest/autorun'
+require_relative 'helper'
require 'minitest/around'
$var = []
describe 'Outer' do
before do
$var << :before
end
after do
$var << :after
- $var.must_equal [:before, :ibefore, :begin, :ibegin, :during, :iend, :end, :iafter, :after]
+ $var.must_equal [:before, :begin, :ibefore, :ibegin, :during, :iend, :iafter, :end, :after]
end
around do |test|
$var << :begin
test.call
$var << :end