examples/simple-solo/solo.rb in minitest-chef-handler-0.6.7 vs examples/simple-solo/solo.rb in minitest-chef-handler-0.6.8
- old
+ new
@@ -1,7 +1,10 @@
require 'minitest-chef-handler'
path = File.expand_path('{test/test_*,spec/*_spec}.rb', File.dirname(__FILE__))
+cache = File.expand_path('cache', File.dirname(__FILE__))
report_handlers << MiniTest::Chef::Handler.new(:path => path)
cookbook_path File.expand_path('cookbooks', File.dirname(__FILE__))
log_location 'chef.log'
+cache_options({ :path => cache, :skip_expires => true })
+file_cache_path cache