Suppress warnings for Thread.exclusive
This commit is contained in:
parent
3e763883ea
commit
0195966ba2
@ -1,8 +1,15 @@
|
||||
require_relative '../../spec_helper'
|
||||
|
||||
describe "Thread.exclusive" do
|
||||
verbose = Object
|
||||
|
||||
before :each do
|
||||
ScratchPad.clear
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
end
|
||||
|
||||
after :each do
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
||||
it "yields to the block" do
|
||||
|
Loading…
x
Reference in New Issue
Block a user