summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2021-10-08 13:01:47 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-10-09 08:04:48 +0900
commit70066196a087f82f6505456167bd1bdac8cc1e5a (patch)
tree869ec85644efac374ebc2567bcac3b9ef78b48d7
parentd03d122ba1851156c93ea21a9006a7d921ad073e (diff)
[rubygems/rubygems] Fix typo
We want to update the original repo, not a fresh one. This went undetected because the `git commit` command inside the `update_git` method ignores failures, and in this case it was failing because all files are untracked in the new repo. I will fix that later but for now fix the typo. https://github.com/rubygems/rubygems/commit/c889f1d715
-rw-r--r--spec/bundler/commands/clean_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/commands/clean_spec.rb b/spec/bundler/commands/clean_spec.rb
index 34bd37923c..ffaf22dbb3 100644
--- a/spec/bundler/commands/clean_spec.rb
+++ b/spec/bundler/commands/clean_spec.rb
@@ -236,7 +236,7 @@ RSpec.describe "bundle clean" do
bundle "config set path vendor/bundle"
bundle "install"
- update_git "foo", :path => lib_path("foo-bar")
+ update_git "foo-bar", :path => lib_path("foo-bar")
revision2 = revision_for(lib_path("foo-bar"))
bundle "update", :all => true