Remove all Ruby-emitted warnings

Run RSpec tests with warnings enabled so we stay on top of this better
in the future.
Use a guard clause instead of wrapping the code inside a conditional expression.