gutefrage/ruby-style-guide — pull request #2 by shostakovich (2013-04-18 07:38:40+00:00)
Title: Use doubles only now

Test Doubles
A test double is an object that stands in for another object in your
system
during a code example. Use the double method to create one:

double_account = double("Account")
You can also use the mock and stub methods to create test doubles,
however
these methods are there for backward compatibility only and will likely
be
deprecated and then removed from future versions.