summaryrefslogtreecommitdiff
path: root/spec/ruby/core/conditionvariable/wait_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/conditionvariable/wait_spec.rb')
-rw-r--r--spec/ruby/core/conditionvariable/wait_spec.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/ruby/core/conditionvariable/wait_spec.rb b/spec/ruby/core/conditionvariable/wait_spec.rb
index 9a68c2b5a1..1af53a15a2 100644
--- a/spec/ruby/core/conditionvariable/wait_spec.rb
+++ b/spec/ruby/core/conditionvariable/wait_spec.rb
@@ -1,5 +1,4 @@
require_relative '../../spec_helper'
-require 'thread'
describe "ConditionVariable#wait" do
it "calls #sleep on the given object" do
@@ -164,7 +163,7 @@ describe "ConditionVariable#wait" do
# On TruffleRuby, this causes a safepoint which has interesting
# interactions with the ConditionVariable.
bt = t.backtrace
- bt.should be_kind_of(Array)
+ bt.should.is_a?(Array)
bt.size.should >= 2
}
end