address rspec deprecation warnings fixes #1076
Merge pull request #1077 from justinfrench/fix-rspec-deprecations

Address rspec deprecation warnings fixes #1076