diff options
| author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2025-08-08 11:00:54 +0200 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2025-08-18 12:31:51 +0900 |
| commit | 2e983280e27c6e076546c0444a9489c832e9b32b (patch) | |
| tree | ed58c52f435f73e575dfed80719bf61421e36c2a | |
| parent | a6aa8e67f16cafb74cd86d0ba2467755e56bab20 (diff) | |
[rubygems/rubygems] Use a rubygems filter for the timeout spec
For consistency.
https://github.com/rubygems/rubygems/commit/3e3364e19f
| -rw-r--r-- | spec/bundler/runtime/inline_spec.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/spec/bundler/runtime/inline_spec.rb b/spec/bundler/runtime/inline_spec.rb index 0d4c4df08c..cffaab3579 100644 --- a/spec/bundler/runtime/inline_spec.rb +++ b/spec/bundler/runtime/inline_spec.rb @@ -590,14 +590,10 @@ RSpec.describe "bundler/inline#gemfile" do expect(err).to be_empty end - it "does not load default timeout" do + it "does not load default timeout", rubygems: ">= 3.5.0" do default_timeout_version = ruby "gem 'timeout', '< 999999'; require 'timeout'; puts Timeout::VERSION", raise_on_error: false skip "timeout isn't a default gem" if default_timeout_version.empty? - # This only works on RubyGems 3.5.0 or higher - ruby "require 'rubygems/vendored_timeout'", raise_on_error: false - skip "rubygems under test does not yet vendor timeout" unless last_command.success? - build_repo4 do build_gem "timeout", "999" end |
