1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
This commit is contained in:
Benoit Daloze 2019-10-26 20:53:01 +02:00
parent 3eb0d50c0b
commit 664e96b1de
42 changed files with 484 additions and 117 deletions

View file

@ -1,15 +1,13 @@
require_relative '../../spec_helper'
describe "Thread.exclusive" do
verbose = Object
before :each do
ScratchPad.clear
verbose, $VERBOSE = $VERBOSE, nil
$VERBOSE, @verbose = nil, $VERBOSE
end
after :each do
$VERBOSE = verbose
$VERBOSE = @verbose
end
it "yields to the block" do