summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-08-15 18:41:55 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-08-16 08:43:52 +0200
commit7d982a5be97b0c4822342c905565a2f9856b7bad (patch)
tree3e56f060e5da65c999fdd2ced1f8ebe345fe0af2
parent6bdb13c899fad815b8fd5c03100f9492ba8e93dc (diff)
downloadbundler-7d982a5be97b0c4822342c905565a2f9856b7bad.tar.gz
Remve another unneeded `to_s`
`FileUtils.rm` supports a `Pathname` argument.
-rw-r--r--spec/quality_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/quality_spec.rb b/spec/quality_spec.rb
index 8c9a1b6c35..4e66e5b661 100644
--- a/spec/quality_spec.rb
+++ b/spec/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