aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/help_controller_spec.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2011-02-23 19:11:39 +0000
committerLouise Crow <louise.crow@gmail.com>2011-02-23 19:11:39 +0000
commita121b62c999a297bf2725cd14e9707e05d92d368 (patch)
tree16e805170930a028e936c0f26b0b206001b7c8da /spec/controllers/help_controller_spec.rb
parent85b4d3de0268d8b0464a808618a9001b5ea12b44 (diff)
Clear deliveries array after running spec.
Diffstat (limited to 'spec/controllers/help_controller_spec.rb')
-rw-r--r--spec/controllers/help_controller_spec.rb1
1 files changed, 1 insertions, 0 deletions
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