Skip to content

Commit

Permalink
Action Mailer's require has been "action_mailer" since at least 2.2 a…
Browse files Browse the repository at this point in the history
…nd is now deprecated in 3.0.3. Use "action_mailer" instead.
  • Loading branch information
radar authored and bmabey committed Dec 29, 2010
1 parent 80cb3af commit 1c0505e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/email_spec.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
unless defined?(Pony) or defined?(ActionMailer)
Kernel.warn("Neither Pony nor ActionMailer appear to be loaded so email-spec is requiring ActionMailer.")
require 'actionmailer'
require 'action_mailer'
end

$LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__))) unless $LOAD_PATH.include?(File.expand_path(File.dirname(__FILE__)))
Expand Down

0 comments on commit 1c0505e

Please sign in to comment.