To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!More about adding a collaborator
Doubles, stubs, and message expectations are all cleaned out after each
example. This ensures that each example can be run in isolation, and in any
It is perfectly fine to set up doubles, stubs, and message expectations in
before(:each) hook, as that hook is executed in the scope of the example:
before(:each) do @account = double('account') end
Do not create doubles, stubs, or message expectations in
If you do, they'll get cleaned out after the first example, and you will be
very confused as to what's going on in the second example.
Last published over 7 years ago by myronmarston.
RSpec Mocks settings