Fix rspec deprecation warning.

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

Signed-off-by: François de Metz <francois@stormz.me>
Merge pull request #18 from francois2metz/fix_deprecation_warning

Fix rspec deprecation warning.