Skip to content

Commit

Permalink
log when TestMailer is called
Browse files Browse the repository at this point in the history
  • Loading branch information
auxesis committed Dec 24, 2009
1 parent 376b214 commit 5004659
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/notifier-directories/spoons/testmailer/init.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ module Notifiers
class Testmailer

def initialize(opts={})
@log = opts[:log]
end

def notify(opts={})
@log.debug("TestMailer notifying #{opts[:who].name}")
end

end
Expand Down

0 comments on commit 5004659

Please sign in to comment.