Sha256: df273e7e22d353d43ac733e8db8b86b1324ebd1b0dc93c9d3817befd6ad6d00f

Contents?: true

Size: 560 Bytes

Versions: 17

Compression:

Stored size: 560 Bytes

Contents

gem_package "minitest" do
  action :nothing
end.run_action(:upgrade)

gem_package "minitest-chef-handler" do
  action :nothing
end.run_action(:upgrade)

require 'rubygems'
Gem.clear_paths
require 'minitest-chef-handler'

path = File.join(Chef::Config[:cookbook_path],
                 "**",
                 "test",
                 "test_*.rb")

Chef::Log.info "path is #{path}, entries: #{Dir.glob(path).entries}"

chef_handler "MiniTest::Chef::Handler" do
  source "minitest-chef-handler"
  arguments :path => path
  action :nothing
end.run_action(:enable)

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
minitest-chef-handler-0.6.9 examples/chef-handler-cookbook/cookbooks/chef_handler/recipes/minitest.rb
minitest-chef-handler-0.6.8 examples/chef-handler-cookbook/cookbooks/chef_handler/recipes/minitest.rb
minitest-chef-handler-0.6.7 examples/chef-handler-cookbook/cookbooks/chef_handler/recipes/minitest.rb
minitest-chef-handler-0.6.6 examples/chef-handler-cookbook/cookbooks/chef_handler/recipes/minitest.rb
minitest-chef-handler-0.6.5 examples/chef-handler-cookbook/cookbooks/chef_handler/recipes/minitest.rb
minitest-chef-handler-0.6.4 examples/chef-handler-cookbook/cookbooks/chef_handler/recipes/minitest.rb
minitest-chef-handler-0.6.3 examples/chef-handler-cookbook/cookbooks/chef_handler/recipes/minitest.rb
minitest-chef-handler-0.6.2 examples/chef-handler-cookbook/cookbooks/chef_handler/recipes/minitest.rb
minitest-chef-handler-0.6.1 examples/chef-handler-cookbook/cookbooks/chef_handler/recipes/minitest.rb
minitest-chef-handler-0.6.0 examples/chef-handler-cookbook/cookbooks/chef_handler/recipes/minitest.rb
minitest-chef-handler-0.5.4 examples/chef-handler-cookbook/cookbooks/chef_handler/recipes/minitest.rb
minitest-chef-handler-0.5.3 examples/chef-handler-cookbook/cookbooks/chef_handler/recipes/minitest.rb
minitest-chef-handler-0.5.2 examples/chef-handler-cookbook/cookbooks/chef_handler/recipes/minitest.rb
minitest-chef-handler-0.5.1 examples/chef-handler-cookbook/cookbooks/chef_handler/recipes/minitest.rb
minitest-chef-handler-0.5.0 examples/chef-handler-cookbook/cookbooks/chef_handler/recipes/minitest.rb
minitest-chef-handler-0.4.0 examples/chef-handler-cookbook/cookbooks/chef_handler/recipes/minitest.rb
minitest-chef-handler-0.3.0 examples/cookbooks/chef_handler/recipes/minitest.rb