examples/mutex_test.rb in minitest-around-0.0.1 vs examples/mutex_test.rb in minitest-around-0.0.2
- old
+ new
@@ -1,6 +1,7 @@
require 'minitest/autorun'
require 'minitest/around'
+require 'thread'
class MutexTest < MiniTest::Unit::TestCase
def around(&block)
Mutex.new.synchronize(&block)
end