psyho / bogus

Fake library for Ruby
Other
359 stars 14 forks source link

Properly namespace ::Minitest (to not clash with Bogus::Minitest) #69

Closed chastell closed 9 years ago

chastell commented 9 years ago

I noticed an irritating warning when verifying contract tests:

MiniTest::Unit.after_tests is now Minitest.after_run.
From …/lib/bogus/minitest/syntax.rb:23:in `after_suite'`

This fixes the warning by making sure the right (top-level) Minitest is being looked for.