Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@fatmcgav
Created December 1, 2014 09:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save fatmcgav/aa7295798502d660c6a3 to your computer and use it in GitHub Desktop.
Save fatmcgav/aa7295798502d660c6a3 to your computer and use it in GitHub Desktop.
Spec_helper $LOAD_PATH modifications
# Add fixture lib dirs to LOAD_PATH. Work-around for PUP-3336
#
if Puppet.version < "4.0.0"
Dir["#{fixture_path}/modules/*/lib"].entries.each do |lib_dir|
$LOAD_PATH << lib_dir
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment