aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-02-03 18:57:01 -0800
committerJeremy Kemper <jeremy@bitsweat.net>2009-02-03 18:58:06 -0800
commitb302e023b786aaa246a467ec4f4c619353cbdbb2 (patch)
tree3160aa55733c05685f4ba3756d760ee93b363f30 /actionmailer
parentaa6c7185ff9add35733ed723b7d0f9296b8270f3 (diff)
downloadrails-b302e023b786aaa246a467ec4f4c619353cbdbb2.tar.gz
rails-b302e023b786aaa246a467ec4f4c619353cbdbb2.tar.bz2
rails-b302e023b786aaa246a467ec4f4c619353cbdbb2.zip
Require rubygems
Diffstat (limited to 'actionmailer')
-rw-r--r--actionmailer/test/abstract_unit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionmailer/test/abstract_unit.rb b/actionmailer/test/abstract_unit.rb
index c8e9fc789a..51b375fef3 100644
--- a/actionmailer/test/abstract_unit.rb
+++ b/actionmailer/test/abstract_unit.rb
@@ -1,3 +1,4 @@
+require 'rubygems'
require 'test/unit'
gem 'mocha', '>= 0.9.5'
@@ -46,7 +47,6 @@ class Net::SMTP
end
def uses_gem(gem_name, test_name, version = '> 0')
- require 'rubygems'
gem gem_name.to_s, version
require gem_name.to_s
yield