Don't load Travis::Helpers::Legacy
This commit is contained in:
parent
abce9844d7
commit
24577ab03a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user