The RSpec should syntax is deprecated. We can modernise the test suite by migrating to expect syntax, assisted by the transpec gem.
This PR also resolves Ruby lint warnings about using == in specs.
Finally, it rewords spec names by removing "should". Lets be deterministic 💪. If this stylistic change is unwanted that commit can be removed easily, but it's recognised on BetterSpecs.
The RSpec
should
syntax is deprecated. We can modernise the test suite by migrating toexpect
syntax, assisted by thetranspec
gem.This PR also resolves Ruby lint warnings about using
==
in specs.Finally, it rewords spec names by removing "should". Lets be deterministic 💪. If this stylistic change is unwanted that commit can be removed easily, but it's recognised on BetterSpecs.