remove rspec deprecation warnings
Merge pull request #35 from jlambert121/deprecation_fix

remove rspec deprecation warnings