You may have been taking advantage of falsiness of nil in Ruby. Don't recommend you do that with your specs.
- Be explicit about whether you expect
nil
orfalse
. Avoidbe_falsey
. - Be explicit about the true values - use
be true
orbe_a(Foo)
- avoidbe_truthy