Sha256: 20449fa37555f4b3b7c74b8ac8c5810dc2383a3e7544b09170e15304ed8ab47e
Contents?: true
Size: 410 Bytes
Versions: 32
Compression:
Stored size: 410 Bytes
Contents
# Helper module to track the load order of library files. # Used by `cookbook_compiler_spec.rb` # # This module must be loaded for any tests that load the cookbook # data/run_context/cookbooks/test to succeed. module LibraryLoadOrder extend self def load_order @load_order ||= [] end def reset! @load_order = nil end def record(file) load_order << file end end
Version data entries
32 entries across 32 versions & 1 rubygems