diff options
author | Robin Houston <robin.houston@gmail.com> | 2012-01-12 17:51:57 +0000 |
---|---|---|
committer | Robin Houston <robin.houston@gmail.com> | 2012-01-12 17:51:57 +0000 |
commit | dc6fd5c8a369b3128629586561967c7842896920 (patch) | |
tree | a22fa509195cebe14cad624d544b1d502eeb0c9b /spec/lib/tmail_extensions_spec.rb | |
parent | f098a984efacc9cb486991e9ea2da206cf853c6e (diff) |
Improve test isolation
I was seeing some test failures, apparently caused by inadequate test
isolation. This change fixed them.
Diffstat (limited to 'spec/lib/tmail_extensions_spec.rb')
-rw-r--r-- | spec/lib/tmail_extensions_spec.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/lib/tmail_extensions_spec.rb b/spec/lib/tmail_extensions_spec.rb index 6a55c34da..02ef8b82e 100644 --- a/spec/lib/tmail_extensions_spec.rb +++ b/spec/lib/tmail_extensions_spec.rb @@ -5,6 +5,11 @@ require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe "when using TMail" do + fixtures :info_requests, :incoming_messages + + before(:each) do + ActionMailer::Base.deliveries.clear + end it "should load an email with funny MIME settings" do # just send it to the holding pen |