replace deprecated rspec matchers

`be_true` and `be_false` were removed from rspec as they weren't
entirely accurate