From a121b62c999a297bf2725cd14e9707e05d92d368 Mon Sep 17 00:00:00 2001 From: Louise Crow Date: Wed, 23 Feb 2011 19:11:39 +0000 Subject: Clear deliveries array after running spec. --- spec/controllers/help_controller_spec.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'spec/controllers/help_controller_spec.rb') diff --git a/spec/controllers/help_controller_spec.rb b/spec/controllers/help_controller_spec.rb index ca559a8aa..28fd08c80 100644 --- a/spec/controllers/help_controller_spec.rb +++ b/spec/controllers/help_controller_spec.rb @@ -24,6 +24,7 @@ describe HelpController, "when using help" do deliveries = ActionMailer::Base.deliveries deliveries.size.should == 1 deliveries[0].body.should include("really should know") + deliveries.clear end end -- cgit v1.2.3