summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodriguez <deivid.rodriguez@riseup.net>2021-10-18 11:26:57 +0200
committergit <svn-admin@ruby-lang.org>2024-06-06 18:44:39 +0000
commit7fbc9ffb89b80d42df49c8e54881172e71eb47d4 (patch)
tree7bc19abb91145403184a4cfdb986cb5db9f3bd1f
parent30d028eab611470a8731e909d502bcfa85f43e92 (diff)
[rubygems/rubygems] The `home` helper method already joins internally
https://github.com/rubygems/rubygems/commit/279740ed52
-rw-r--r--spec/bundler/bundler/plugin_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/bundler/plugin_spec.rb b/spec/bundler/bundler/plugin_spec.rb
index 54d9c9c221..3ac7b251a3 100644
--- a/spec/bundler/bundler/plugin_spec.rb
+++ b/spec/bundler/bundler/plugin_spec.rb
@@ -257,7 +257,7 @@ RSpec.describe Bundler::Plugin do
end
it "returns plugin dir in global bundle path" do
- expect(subject.root).to eq(home.join(".bundle/plugin"))
+ expect(subject.root).to eq(home(".bundle/plugin"))
end
end
end