Permalink
Browse files

Require rubygems

  • Loading branch information...
1 parent aa6c718 commit b302e023b786aaa246a467ec4f4c619353cbdbb2 @jeremy jeremy committed Feb 4, 2009
Showing with 2 additions and 2 deletions.
  1. +1 −1 actionmailer/test/abstract_unit.rb
  2. +1 −1 activeresource/test/abstract_unit.rb
@@ -1,3 +1,4 @@
+require 'rubygems'
require 'test/unit'
gem 'mocha', '>= 0.9.5'
@@ -46,7 +47,6 @@ def self.new(*args)
end
def uses_gem(gem_name, test_name, version = '> 0')
- require 'rubygems'
gem gem_name.to_s, version
require gem_name.to_s
yield
@@ -1,3 +1,4 @@
+require 'rubygems'
require 'test/unit'
gem 'mocha', '>= 0.9.5'
@@ -13,7 +14,6 @@
ActiveResource::Base.logger = Logger.new("#{File.dirname(__FILE__)}/debug.log")
def uses_gem(gem_name, test_name, version = '> 0')
- require 'rubygems'
gem gem_name.to_s, version
require gem_name.to_s
yield

0 comments on commit b302e02

Please sign in to comment.