diff options
author | Robin Houston <robin.houston@gmail.com> | 2012-01-24 16:51:40 +0000 |
---|---|---|
committer | Robin Houston <robin.houston@gmail.com> | 2012-01-24 16:51:40 +0000 |
commit | 9bbef0aa8017070d351209d70d79b1611879266f (patch) | |
tree | 44168f05ddc542b54217cf14c5e0db7efce33c6e /spec/lib | |
parent | 20119fdc0ce44977c2bb76d8b5329808d62f017f (diff) |
Improve test isolation
Another brick in the wall (#361)
Diffstat (limited to 'spec/lib')
-rw-r--r-- | spec/lib/sendmail_return_path_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/lib/sendmail_return_path_spec.rb b/spec/lib/sendmail_return_path_spec.rb index f1a91240b..7708edb35 100644 --- a/spec/lib/sendmail_return_path_spec.rb +++ b/spec/lib/sendmail_return_path_spec.rb @@ -3,6 +3,7 @@ require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe "when sending email with an altered return path" do + before(:each) { ActionMailer::Base.deliveries = [] } it "should default to delivery method test" do ActionMailer::Base.delivery_method.should == :test |