lib/minitest-chef-handler/lookup.rb in minitest-chef-handler-0.6.7 vs lib/minitest-chef-handler/lookup.rb in minitest-chef-handler-0.6.8

- old
+ new

@@ -58,10 +58,11 @@ def used_recipe_names if recipes = run_status.node.run_state[:seen_recipes] recipes.keys else - run_status.node.run_list.select(&:recipe?).map(&:name) + # chef 11 - see http://docs.opscode.com/breaking_changes_chef_11.html#node-run-state-replaced + run_status.run_context.loaded_recipes end end # Internal - look for the right path to the cookbook given one or # several base paths.