Same here, I just took the code thas was already in be_predicate and put it here 
https://github.com/rspec/rspec-expectations/blob/master/lib/rspec/matchers/built_in/be.rb#L220

I will change it though. Both files