Sha256: f6e9b174b56fe3321aef540f0fb84e105cf636fee0dc527288bf084430887f37

Contents?: true

Size: 390 Bytes

Versions: 315

Compression:

Stored size: 390 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

315 entries across 315 versions & 1 rubygems

Version Path
chef-18.6.2-universal-mingw-ucrt spec/support/lib/library_load_order.rb
chef-18.6.2 spec/support/lib/library_load_order.rb
chef-17.10.163-universal-mingw32 spec/support/lib/library_load_order.rb
chef-17.10.163 spec/support/lib/library_load_order.rb
chef-18.5.0-x64-mingw-ucrt spec/support/lib/library_load_order.rb
chef-18.5.0 spec/support/lib/library_load_order.rb
chef-18.4.12-x64-mingw-ucrt spec/support/lib/library_load_order.rb
chef-18.4.12 spec/support/lib/library_load_order.rb
chef-17.10.122-universal-mingw32 spec/support/lib/library_load_order.rb
chef-17.10.122 spec/support/lib/library_load_order.rb
chef-17.10.114-universal-mingw32 spec/support/lib/library_load_order.rb
chef-17.10.114 spec/support/lib/library_load_order.rb
chef-18.4.2-x64-mingw-ucrt spec/support/lib/library_load_order.rb
chef-18.4.2 spec/support/lib/library_load_order.rb
chef-17.10.95-universal-mingw32 spec/support/lib/library_load_order.rb
chef-17.10.95 spec/support/lib/library_load_order.rb
chef-18.3.0-x64-mingw-ucrt spec/support/lib/library_load_order.rb
chef-18.3.0 spec/support/lib/library_load_order.rb
chef-17.10.68-universal-mingw32 spec/support/lib/library_load_order.rb
chef-18.2.7-x64-mingw-ucrt spec/support/lib/library_load_order.rb