Use double instead of mock (deprecated in rspec-mocks 2.14.0)