fix rspec deprecations
Merge pull request #1 from vast/fix-deprecations

Fix rspec deprecations