1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Gem cont presence checking has been removed

This commit is contained in:
Roman V. Babenko 2012-05-02 13:56:13 +03:00
parent 07438f9ebb
commit e17cc4d493
2 changed files with 15 additions and 19 deletions

View file

@ -17,8 +17,6 @@ module Rails
private
def add_gem_filters
return unless defined?(Gem)
gems_paths = (Gem.path | [Gem.default_dir]).map { |p| Regexp.escape(p) }
return if gems_paths.empty?

View file

@ -1,7 +1,6 @@
require 'abstract_unit'
require 'rails/backtrace_cleaner'
if defined? Gem
class BacktraceCleanerVendorGemTest < ActiveSupport::TestCase
def setup
@cleaner = Rails::BacktraceCleaner.new
@ -23,4 +22,3 @@ if defined? Gem
end
end
end
end