Addresses RSpec deprecation warnings

* `stub` is deprecated in favor of `double`
Merge pull request #11 from alindeman/rspec-deprecations

Addresses RSpec deprecation warnings