We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d54d0f commit 825d4ebCopy full SHA for 825d4eb
1 file changed
bundler/spec/runtime/inline_spec.rb
@@ -678,8 +678,10 @@ def confirm(msg, newline = nil)
678
679
expect(out).to include("Installing psych 999")
680
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")
+ if Gem.respond_to?(:use_psych?) && Gem.use_psych?
+ 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
685
end
686
687
it "leaves a lockfile in the same directory as the inline script alone" do
0 commit comments