fix for rspec deprecation
version specific change
Merge pull request #623 from noelrappin/master

fix for rspec deprecation