Skip to content

Commit

Permalink
Merge pull request #1192 from arunagw/removal_extra
Browse files Browse the repository at this point in the history
No more need rubygems here.
  • Loading branch information
josevalim committed May 22, 2011
2 parents ff55924 + 4c99f32 commit 06474c1
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion activemodel/test/cases/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@
# Show backtraces for deprecated behavior for quicker cleanup.
ActiveSupport::Deprecation.debug = true

require 'rubygems'
require 'test/unit'
6 changes: 0 additions & 6 deletions activeresource/test/abstract_unit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
lib = File.expand_path("#{File.dirname(__FILE__)}/../lib")
$:.unshift(lib) unless $:.include?('lib') || $:.include?(lib)

require 'rubygems'
require 'test/unit'
require 'active_resource'
require 'active_support'
Expand All @@ -14,11 +13,6 @@
require 'logger'
ActiveResource::Base.logger = Logger.new("#{File.dirname(__FILE__)}/debug.log")

begin
require 'ruby-debug'
rescue LoadError
end

def setup_response
matz_hash = { 'person' => { :id => 1, :name => 'Matz' } }

Expand Down
2 changes: 0 additions & 2 deletions railties/test/isolation/abstract_unit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
# Rails booted up.
require 'fileutils'

# TODO: Remove rubygems when possible
require 'rubygems'
require 'test/unit'

# TODO: Remove setting this magic constant
Expand Down

0 comments on commit 06474c1

Please sign in to comment.