Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit 102d1b5

Browse files
authored
Clamp a spec on JRuby
JRuby historically used its own implementation of Tempfile. This spec relies on a check that fails on JRuby. Evidently, JRuby starting from version 10 is going to behave similarly to CRuby.
1 parent da06053 commit 102d1b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/rspec/support/spec/stderr_splitter_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101

102102
# This is essentially what the `to_stderr_from_any_process` matcher attempts
103103
# to do in CaptureStreamToTempfile.
104-
it 'is able to restore the stream from a cloned StdErrSplitter' do
104+
it 'is able to restore the stream from a cloned StdErrSplitter', :pending => RSpec::Support::Ruby.jruby? do
105105
cloned = $stderr.clone
106106
expect($stderr.to_io).not_to be_a(File)
107107

0 commit comments

Comments
 (0)