Fix rspec deprecation warning.

DEPRECATION: mock is deprecated. Use double instead. Called from
spec/desi/index_manager_spec.rb:16:in `stub_request'