spec/unit/cookbook_profiler/git_spec.rb in chef-cli-5.6.12 vs spec/unit/cookbook_profiler/git_spec.rb in chef-cli-5.6.13
- old
+ new
@@ -23,10 +23,11 @@
describe ChefCLI::CookbookProfiler::Git do
include ChefCLI::Helpers
- let(:git_profiler) do
+ let!(:git_profiler) do
+ ChefCLI::CookbookProfiler::Git.uncache
ChefCLI::CookbookProfiler::Git.new(cookbook_path)
end
context "with cookbooks in a valid git repo" do