Skip to content

Commit

Permalink
Clear all ActionMailer deliveries before every test in mail interceptor
Browse files Browse the repository at this point in the history
  • Loading branch information
radar committed Jul 10, 2012
1 parent aff94d6 commit fe7aa13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/spec/lib/mail_interceptor_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
let(:message) { Spree::OrderMailer.confirm_email(order) }
#let(:email) { mock "email" }

before(:all) do
before do
ActionMailer::Base.deliveries.clear
end

Expand Down

0 comments on commit fe7aa13

Please sign in to comment.