projects
/
selectricity
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Variety of small changes (mostly to properties) plus a few "in the
[selectricity]
/
vendor
/
plugins
/
login_engine
/
test
/
mocks
/
mail.rb
1
ActionMailer::Base.class_eval {
2
@@inject_one_error = false
3
cattr_accessor :inject_one_error
4
5
private
6
def perform_delivery_test(mail)
7
if inject_one_error
8
ActionMailer::Base::inject_one_error = false
9
raise "Failed to send email" if raise_delivery_errors
10
else
11
deliveries << mail
12
end
13
end
14
}
Benjamin Mako Hill
||
Want to submit a patch?