Don't load Travis::Helpers::Legacy

This commit is contained in:
Piotr Sarnacki 2013-09-03 14:13:17 +02:00
parent abce9844d7
commit 24577ab03a

View File

@ -9,7 +9,7 @@ require 'core_ext/module/load_constants'
models = Travis::Model.constants.map(&:to_s)
only = [/^(ActiveRecord|ActiveModel|Travis|GH|#{models.join('|')})/]
skip = ['Travis::Memory', 'GH::ResponseWrapper', 'Travis::NewRelic']
skip = ['Travis::Memory', 'GH::ResponseWrapper', 'Travis::NewRelic', 'Travis::Helpers::Legacy']
[Travis::Api, Travis, GH].each do |target|
target.load_constants! :only => only, :skip => skip, :debug => false