I'm a little unclear what the problem is. Which test is failing? And
what is the error message?
An expectation in one test should have no influence on behaviour in
other tests. The expectation you have declared in the following line
already requires the 'deliver_welcome_email' to be called *exactly*
once :-
Mailer.expects(:deliver_welcome_email).with(user)
Although you could make it more explicit by using 'once' :-
Mailer.expects(:deliver_welcome_email).once.with(user)
Cheers, James.