I just ran into this issue. I have a method that returns: false, true,
nil or an object.
This method is used by another method to test for true/false. In Ruby
that’s easy to handle as nil and false evaluate to false, and everything
else evaluates to true, but RSpec seems to expect an exact value such as
nil, true, false, not_nil, etc.
Do I have to rewrite my return values to always return true or false?