summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-08-15 17:03:26 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-08-16 08:43:51 +0200
commit5379382198eb01f90934ec34845cc26e275f01cd (patch)
tree098b09b575295f38adc53196407ebc6bddb71e99
parent096e53dfe67e437dacd0fde9ebfcee6c3a538002 (diff)
downloadbundler-5379382198eb01f90934ec34845cc26e275f01cd.tar.gz
Unalias `install_gem`
Since I plan to reuse it for something else.
-rw-r--r--spec/runtime/setup_spec.rb2
-rw-r--r--spec/support/helpers.rb2
2 files changed, 1 insertions, 3 deletions
diff --git a/spec/runtime/setup_spec.rb b/spec/runtime/setup_spec.rb
index 46dda097ab..65cb006edd 100644
--- a/spec/runtime/setup_spec.rb
+++ b/spec/runtime/setup_spec.rb
@@ -773,7 +773,7 @@ end
full_gem_name = gem_name + "-1.0"
ext_dir = File.join(tmp("extensions", full_gem_name))
- install_gem full_gem_name
+ install_gems full_gem_name
install_gemfile <<-G
source "#{file_uri_for(gem_repo1)}"
diff --git a/spec/support/helpers.rb b/spec/support/helpers.rb
index d5e2f43a9b..4a0a07244c 100644
--- a/spec/support/helpers.rb
+++ b/spec/support/helpers.rb
@@ -322,8 +322,6 @@ module Spec
end
end
- alias_method :install_gem, :install_gems
-
def with_gem_path_as(path)
backup = ENV.to_hash
ENV["GEM_HOME"] = path.to_s