Fix rspec deprecations
Merge pull request #29 from projecthydra/fix_deprecations

Fix rspec deprecations