Stub -> double to eliminate rspec deprecation notices