diff options
Diffstat (limited to 'spec/unit/run_context/cookbook_compiler_spec.rb')
-rw-r--r-- | spec/unit/run_context/cookbook_compiler_spec.rb | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/spec/unit/run_context/cookbook_compiler_spec.rb b/spec/unit/run_context/cookbook_compiler_spec.rb index 0c5e568a13..fe6bef5618 100644 --- a/spec/unit/run_context/cookbook_compiler_spec.rb +++ b/spec/unit/run_context/cookbook_compiler_spec.rb @@ -17,23 +17,7 @@ # require 'spec_helper' - -# Keeps track of what file got loaded in what order. -module LibraryLoadOrder - extend self - - def load_order - @load_order ||= [] - end - - def reset! - @load_order = nil - end - - def record(file) - load_order << file - end -end +require 'support/lib/library_load_order' # These tests rely on fixture data in spec/data/run_context/cookbooks. # |