fix compatibility with rspec3

Works with some deprecation messages. Someone has a script for that somewhere. We'll fix it later.