We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b78ef4 commit 6b36debCopy full SHA for 6b36deb
spec/spec_helper.rb
@@ -171,7 +171,7 @@
171
# Exclude acceptable background threads
172
background_threads = Thread.list.reject do |t|
173
group_name = t.group.instance_variable_get(:@group_name) if t.group.instance_variable_defined?(:@group_name)
174
- caller = t.instance_variable_get(:@caller) || []
+ caller = t.instance_variable_defined?(:@caller) && t.instance_variable_get(:@caller) || []
175
backtrace = t.backtrace || []
176
177
# Current thread
0 commit comments