mock is deprecated. Use double instead.

Running tests results in tons of

    DEPRECATION: mock is deprecated. Use double instead.

Relevant parts of bundle show

    * rspec (2.14.1)
    * rspec-core (2.14.5)
    * rspec-expectations (2.14.2)
    * rspec-mocks (2.14.3)