Skip to content

Commit 825d4eb

Browse files
hsbtclaude
andcommitted
Update bundler inline spec expectations
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 9d54d0f commit 825d4eb

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

bundler/spec/runtime/inline_spec.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -678,8 +678,10 @@ def confirm(msg, newline = nil)
678678

679679
expect(out).to include("Installing psych 999")
680680
expect(out).to include("Installing stringio 999")
681-
expect(out).to include("The psych gem was resolved to 999")
682-
expect(out).to include("The stringio gem was resolved to 999")
681+
if Gem.respond_to?(:use_psych?) && Gem.use_psych?
682+
expect(out).to include("The psych gem was resolved to 999")
683+
expect(out).to include("The stringio gem was resolved to 999")
684+
end
683685
end
684686

685687
it "leaves a lockfile in the same directory as the inline script alone" do

0 commit comments

Comments
 (0)