summaryrefslogtreecommitdiff
path: root/spec/ruby/core/thread/thread_variables_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/thread/thread_variables_spec.rb')
-rw-r--r--spec/ruby/core/thread/thread_variables_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/ruby/core/thread/thread_variables_spec.rb b/spec/ruby/core/thread/thread_variables_spec.rb
index 51ceef3376..f15c681a8f 100644
--- a/spec/ruby/core/thread/thread_variables_spec.rb
+++ b/spec/ruby/core/thread/thread_variables_spec.rb
@@ -19,7 +19,8 @@ describe "Thread#thread_variables" do
it "returns the keys private to self" do
@t.thread_variable_set(:a, 82)
@t.thread_variable_set(:b, 82)
- Thread.current.thread_variables.should_not include(:a, :b)
+ Thread.current.thread_variables.should_not.include?(:a)
+ Thread.current.thread_variables.should_not.include?(:b)
end
it "only contains user thread variables and is empty initially" do