lib/bogus/minitest/syntax.rb in bogus-0.1.6 vs lib/bogus/minitest/syntax.rb in bogus-0.1.7
- old
+ new
@@ -15,11 +15,11 @@
context.instance_variable_set('@desc', value)
end
def after_suite(&block)
# minitest 5 vs 4.7
- if defined? Minitest.after_run
- Minitest.after_run(&block)
+ if defined? ::Minitest.after_run
+ ::Minitest.after_run(&block)
else
MiniTest::Unit.after_tests(&block)
end
end
end