Use test doubles in favor of stubs

* Silences deprecation warnings from latest Rspec
Merge pull request #88 from syntaxritual/use_double

Use test doubles in favor of stubs