Remove rspec deprecation warning.