test/test_helper.rb in active_mailer-0.0.5 vs test/test_helper.rb in active_mailer-0.0.6
- old
+ new
@@ -2,9 +2,13 @@
ENV["RAILS_ENV"] = "test"
require File.expand_path("../fixtures/dummyapp_rails_3.2/config/environment.rb", __FILE__)
require "rails/test_help"
+require "factory_girl"
+include FactoryGirl::Syntax::Methods
+FactoryGirl.find_definitions
+
# ActionMailer::Base.delivery_method = :test
# ActionMailer::Base.perform_deliveries = true
# ActionMailer::Base.default_url_options[:host] = "test.com"
# Rails.backtrace_cleaner.remove_silencers!