diff --git a/Library/Homebrew/test/support/helper/spec/shared_context/integration_test.rb b/Library/Homebrew/test/support/helper/spec/shared_context/integration_test.rb index cbc933817d..7ecb936ec8 100644 --- a/Library/Homebrew/test/support/helper/spec/shared_context/integration_test.rb +++ b/Library/Homebrew/test/support/helper/spec/shared_context/integration_test.rb @@ -46,7 +46,7 @@ RSpec.shared_context "integration test" do example.run ensure - FileUtils.rm_r HOMEBREW_PREFIX/"bin" + FileUtils.rm_rf HOMEBREW_PREFIX/"bin" end # Generate unique ID to be able to