diff options
author | Hiroshi SHIBATA <[email protected]> | 2025-03-12 17:00:10 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2025-03-12 18:02:09 +0900 |
commit | 1a222816fbe65e49f5f395dfd4a307763c00f012 (patch) | |
tree | d2430b0b136a411fc55c8545f63e5cd2aee5be4c /spec | |
parent | 1d07deb422819ce0be58c5d6dd24d632d30ef817 (diff) |
Restore to use rm_rf for failing example
https://github.com/ruby/ruby/actions/runs/13804651931/job/38616664529?pr=12911
Diffstat (limited to 'spec')
-rw-r--r-- | spec/bundler/install/global_cache_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/install/global_cache_spec.rb b/spec/bundler/install/global_cache_spec.rb index 130c841ce9..6893038cb7 100644 --- a/spec/bundler/install/global_cache_spec.rb +++ b/spec/bundler/install/global_cache_spec.rb @@ -275,7 +275,7 @@ RSpec.describe "global gem caching" do R expect(out).to eq "VERY_SIMPLE_BINARY_IN_C\nVERY_SIMPLE_GIT_BINARY_IN_C" - FileUtils.rm_r Dir[home(".bundle", "cache", "extensions", "**", "*binary_c*")] + FileUtils.rm_rf Dir[home(".bundle", "cache", "extensions", "**", "*binary_c*")] gem_binary_cache.join("very_simple_binary_c.rb").open("w") {|f| f << "puts File.basename(__FILE__)" } git_binary_cache.join("very_simple_git_binary_c.rb").open("w") {|f| f << "puts File.basename(__FILE__)" } |