Skip to content

Commit

Permalink
Allow files in subdirectories in "helpers" directory
Browse files Browse the repository at this point in the history
  • Loading branch information
mthssdrbrg committed Jan 5, 2014
1 parent 1816a0f commit 631a3d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/kitchen/busser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def is_chef_data_dir?(base, file)
end

def helper_files
Dir.glob(File.join(config[:test_base_path], "helpers", "*/**/*"))
Dir.glob(File.join(config[:test_base_path], "helpers", "*/**/*")).reject { |f| File.directory?(f) }
end

def remote_file(file, dir)
Expand Down

0 comments on commit 631a3d6

Please sign in to comment.