Skip to content
Browse files

Action Mailer setup obviated by test bundle

  • Loading branch information...
1 parent c2dbc39 commit ecfd6d90eeeeeffb7415b4d9316da4e0bc35743b @jeremy jeremy committed
Showing with 1 addition and 12 deletions.
  1. +1 −12 actionpack/test/controller/assert_select_test.rb
View
13 actionpack/test/controller/assert_select_test.rb
@@ -6,18 +6,7 @@
require 'abstract_unit'
require 'controller/fake_controllers'
-
-unless defined?(ActionMailer)
- begin
- $:.unshift("#{File.dirname(__FILE__)}/../../../actionmailer/lib")
- require 'action_mailer'
- rescue LoadError => e
- raise unless e.message =~ /action_mailer/
- require 'rubygems'
- gem 'actionmailer'
- end
-end
-
+require 'action_mailer'
ActionMailer::Base.view_paths = FIXTURE_LOAD_PATH
class AssertSelectTest < ActionController::TestCase

0 comments on commit ecfd6d9

Please sign in to comment.
Something went wrong with that request. Please try again.