summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2024-09-12 19:07:31 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2024-09-17 14:39:05 +0900
commit166cde7d24ee698ee720987645bcd792f3db6e78 (patch)
tree6f766439a889ea4a925505a245297ab5dcef373c
parent7428709d204728b807db1250be43abdf3dd514e8 (diff)
[rubygems/rubygems] Fix spec to setup a default gem correctly
Looking at the description is something that used to be done a long time ago. https://github.com/rubygems/rubygems/commit/9c226f52a6
-rw-r--r--spec/bundler/cache/gems_spec.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/bundler/cache/gems_spec.rb b/spec/bundler/cache/gems_spec.rb
index 2bd654ef43..ff9a3c5b7f 100644
--- a/spec/bundler/cache/gems_spec.rb
+++ b/spec/bundler/cache/gems_spec.rb
@@ -134,9 +134,7 @@ RSpec.describe "bundle cache" do
end
it "doesn't make remote request after caching the gem" do
- build_gem "builtin_gem_2", "1.0.2", path: bundled_app("vendor/cache") do |s|
- s.summary = "This builtin_gem is bundled with Ruby"
- end
+ build_gem "builtin_gem_2", "1.0.2", path: bundled_app("vendor/cache"), default: true
install_gemfile <<-G
source "https://gem.repo2"