lib/minitest-chef-handler/lookup.rb in minitest-chef-handler-0.6.5 vs lib/minitest-chef-handler/lookup.rb in minitest-chef-handler-0.6.6

- old
+ new

@@ -9,10 +9,10 @@ # Otherwise we load the tests according to the recipes seen. # def require_test_suites(options_path) paths = options_path || seen_recipes_paths Array(paths).each do |path| - Dir.glob(path).each {|test_suite| require test_suite} + Dir.glob(path).each { |test_suite| require File.expand_path(test_suite) } end end # Collect test paths based in the recipes ran. #