Remove Deprecation warning from rspec

Looking at the travis build result, I see following warning:
```
DEPRECATION: `expect { }.not_to raise_error(SpecificErrorClass)` is deprecated. Use `expect { }.not_to raise_error` (with no args) instead.
```