Use RSpec double syntax over stub to fix deprecation warning
Merge pull request #56 from elabs/test_doubles

Use RSpec double syntax over stub to fix deprecation warning