Fix Rspec related deprecated behavior
Merge pull request #208 from projecthydra/fix_rspec_deprecations

Fix Rspec related deprecated behavior