Fix rspec3 warnings.