aboutsummaryrefslogtreecommitdiffstats
path: root/spec/lib
diff options
context:
space:
mode:
authorSeb Bacon <seb.bacon@gmail.com>2012-01-25 08:22:42 +0000
committerSeb Bacon <seb.bacon@gmail.com>2012-01-25 08:22:42 +0000
commit4cbdf45b2077541a7bbc7e0a719289442c1d0fa3 (patch)
tree9a9d370d3d2d8f6bc5500b557cda3eb1a565b785 /spec/lib
parent498cbca64bf3e4075e74f110b1e02b47c39b45fc (diff)
parent05b8714c5f8d69c310f554d403a86a64781ee70a (diff)
Merge branch 'wdtk' of github.com:sebbacon/alaveteli into wdtk
Conflicts: app/controllers/request_controller.rb
Diffstat (limited to 'spec/lib')
-rw-r--r--spec/lib/sendmail_return_path_spec.rb1
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