diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2015-10-03 18:46:37 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2015-10-04 11:42:03 +0200 |
commit | 1f63803e7bdac1abe4219e98a1a7bd84529ec144 (patch) | |
tree | 16decb05b424158b171633b703841ab94cc18ecc /spec/spec_helper.rb | |
parent | 1c48f48073e33875650b687ced05a51e0fd7f7d3 (diff) | |
download | norsk-urskog-registrations-1f63803e7bdac1abe4219e98a1a7bd84529ec144.tar.gz norsk-urskog-registrations-1f63803e7bdac1abe4219e98a1a7bd84529ec144.tar.bz2 norsk-urskog-registrations-1f63803e7bdac1abe4219e98a1a7bd84529ec144.zip |
Send email to Norsk Urskog when a band is registered.
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index c7171e6..7947e06 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,3 +1,8 @@ require_relative '../registration' require 'rspec' require 'rack/test' +require 'mail' + +Mail.defaults do + delivery_method :test # in practice you'd do this in spec_helper.rb +end |