Fix rspec deprecations

* new expect syntax
* deprecated config option