RSpec's be_false behaves unexpectedly:
be_false
nil.should be_false # passes, as the expectation returns true
Rails LTS provides security patches for old versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2)
If you want to check for false, you need to do it like this:
false
nil.should == false # fails as expected
Wat? Show archive.org snapshot
RSpec: be_true does not actually check if a value is true