Skip to content

Commit

Permalink
Mark the two compound-stream matcher tests pending for jruby
Browse files Browse the repository at this point in the history
  • Loading branch information
nevinera committed Aug 18, 2024
1 parent 839387b commit 3fbe8a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/rspec/matchers/built_in/output_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def invalid_block
end

context "expect { ... }.to output(matcher1).#{matcher_method}.and output(matcher2).#{matcher_method}" do
it "passes if the block outputs lines to #{stream_name} matching both matchers" do
it "passes if the block outputs lines to #{stream_name} matching both matchers", :pending => RSpec::Support::Ruby.jruby? do
expect { print_to_stream "foo_bar" }.to matcher(/foo/).and matcher(/bar/)
end
end
Expand Down

0 comments on commit 3fbe8a0

Please sign in to comment.