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

Version Path
chef-14.13.11-universal-mingw32 spec/support/lib/library_load_order.rb
chef-15.0.300-universal-mingw32 spec/support/lib/library_load_order.rb
chef-15.0.298-universal-mingw32 spec/support/lib/library_load_order.rb
chef-15.0.293-universal-mingw32 spec/support/lib/library_load_order.rb
chef-14.12.9-universal-mingw32 spec/support/lib/library_load_order.rb
chef-14.12.3-universal-mingw32 spec/support/lib/library_load_order.rb
chef-13.12.14-universal-mingw32 spec/support/lib/library_load_order.rb
chef-14.11.21-universal-mingw32 spec/support/lib/library_load_order.rb
chef-14.10.9-universal-mingw32 spec/support/lib/library_load_order.rb
chef-14.9.13-universal-mingw32 spec/support/lib/library_load_order.rb
chef-14.8.12-universal-mingw32 spec/support/lib/library_load_order.rb
chef-14.7.17-universal-mingw32 spec/support/lib/library_load_order.rb
chef-13.12.3-universal-mingw32 spec/support/lib/library_load_order.rb
chef-14.6.47-universal-mingw32 spec/support/lib/library_load_order.rb
chef-13.11.3-universal-mingw32 spec/support/lib/library_load_order.rb
chef-14.5.33-universal-mingw32 spec/support/lib/library_load_order.rb
chef-13.10.4-universal-mingw32 spec/support/lib/library_load_order.rb
chef-14.3.37-universal-mingw32 spec/support/lib/library_load_order.rb
chef-13.10.0-universal-mingw32 spec/support/lib/library_load_order.rb
chef-13.9.4-universal-mingw32 spec/support/lib/library_load_order.rb