From adfca752d6aa8f1828392cc1ae88063597376b5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Thu, 15 Aug 2019 18:41:55 +0200 Subject: [PATCH] [bundler/bundler] Remve another unneeded `to_s` `FileUtils.rm` supports a `Pathname` argument. https://github.com/bundler/bundler/commit/7d982a5be9 --- spec/bundler/quality_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/bundler/quality_spec.rb b/spec/bundler/quality_spec.rb index 8c9a1b6c35..4e66e5b661 100644 --- a/spec/bundler/quality_spec.rb +++ b/spec/bundler/quality_spec.rb @@ -232,7 +232,7 @@ RSpec.describe "The library itself" do spec.bindir = "libexec" File.open(root.join("bundler.gemspec").to_s, "w") {|f| f.write spec.to_ruby } gem_command! :build, root.join("bundler.gemspec") - FileUtils.rm(root.join("bundler.gemspec").to_s) + FileUtils.rm(root.join("bundler.gemspec")) else gem_command! :build, gemspec end