summaryrefslogtreecommitdiff
path: root/spec/bundler
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-08-15 18:41:55 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-17 17:08:51 +0900
commitadfca752d6aa8f1828392cc1ae88063597376b5a (patch)
tree38ee1fd875b03ca4c7ce4330064df60330ee96ea /spec/bundler
parent9925e1a10f94f2a8c6d1b513d4546157ccecdc3f (diff)
[bundler/bundler] Remve another unneeded `to_s`
`FileUtils.rm` supports a `Pathname` argument. https://github.com/bundler/bundler/commit/7d982a5be9
Diffstat (limited to 'spec/bundler')
-rw-r--r--spec/bundler/quality_spec.rb2
1 files changed, 1 insertions, 1 deletions
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