Addresses RSpec deprecation warnings

* `stub` is deprecated in favor of `double`