diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-08-15 18:25:56 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-08-17 17:08:51 +0900 |
commit | 9925e1a10f94f2a8c6d1b513d4546157ccecdc3f (patch) | |
tree | 0a32bd70d05dc0c8a3337503648d094d4115b859 /spec/bundler/quality_spec.rb | |
parent | f88237623f9131a9a07a4dd7ffde8c758e63e32c (diff) | |
download | ruby-9925e1a10f94f2a8c6d1b513d4546157ccecdc3f.tar.gz |
[bundler/bundler] Remove unneeded `to_s` calls
They are implicit inside `gem_command!`.
https://github.com/bundler/bundler/commit/6bdb13c899
Diffstat (limited to 'spec/bundler/quality_spec.rb')
-rw-r--r-- | spec/bundler/quality_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/quality_spec.rb b/spec/bundler/quality_spec.rb index 85d0084e9a..8c9a1b6c35 100644 --- a/spec/bundler/quality_spec.rb +++ b/spec/bundler/quality_spec.rb @@ -231,7 +231,7 @@ RSpec.describe "The library itself" do spec = Gem::Specification.load(gemspec.to_s) 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").to_s + gem_command! :build, root.join("bundler.gemspec") FileUtils.rm(root.join("bundler.gemspec").to_s) else gem_command! :build, gemspec |