I am running function tests to see if ActionMailer mails out an email. I have two development machines, both with rails 1.1.6. On one machine, the ActionMailer::Base.deliveries array resets itself after each test. On the other machine, the array keeps accumulating the emails from the previous function tests and doesn't clear out the array after each test.
Both machines have identical rails (1.1.6) and the same version for the rails dependencies (such as activemailer). Both use ruby 1.8.4. Not sure if this makes a difference, but one uses Ubuntu Dapper and the other uses Ubuntu Edgy.
Anyone know what's going on?
- Steve