Fix spec that was failing on jruby.
Fix spec that was failing on jruby.

On jruby, the error for calling an undefined method
is a bit inconsistent:

The first time:

"undefined method `abcd' for #<#<Class:0x3cdb8522>:0x70019a64>"

The second time:

"undefined local variable or method `abcd' for #<#<Class:0x3cdb8522>:0x70019a64>"
h4ck3rm1k3/rspec-mocks,AEgan/rspec-mocks,zephyr-dev/rspec-mocks,rwz/rspec-mocks,ducthanh/rspec-mocks,ducthanh/rspec-mocks,AEgan/rspec-mocks,telekomatrix/rspec-mocks,telekomatrix/rspec-mocks,h4ck3rm1k3/rspec-mocks,maclover7/rspec-mocks,rwz/rspec-mocks,edwardpark/rspec-mocks,rspec/rspec-mocks,maclover7/rspec-mocks,zephyr-dev/rspec-mocks,edwardpark/rspec-mocks,rspec/rspec-mocks