fix rspec warnings: stub is deprecated

double replaces both stub and mock (objects)