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:
parent
07438f9ebb
commit
e17cc4d493
2 changed files with 15 additions and 19 deletions
|
@ -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?
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue