Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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