Bug #15433
OpenStruct NameError vs NoMethodError spec fails for method_missing
Description
I've hit this with parallel tests on a bare trunk on all my Debian stable machines, not sure why, yet: 1) OpenStruct#method_missing when passed additional arguments raises a NoMethodErro r ERROR NameError: undefined local variable or method `test' for #<OpenStruct> $srcdir/lib/ostruct.rb:213:in `method_missing' $srcdir/spec/ruby/library/openstruct/method_missing_spec.rb:37:in `block (3 leve ls) in <top (required)>' $srcdir/spec/ruby/library/openstruct/method_missing_spec.rb:37:in `block (2 leve ls) in <top (required)>' $srcdir/spec/ruby/library/openstruct/method_missing_spec.rb:34:in `<top (require d)>'
No data to display