New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't match rspec errors in 9.4.2.0 #7761
Comments
I am not seeing this locally but perhaps my attempts at making a repro is wrong OR dependent gems of rspec differ? def request
raise RuntimeError.new 'Verboten!'
end
context "A" do
it "should" do
expect { request }.to raise_error 'Verboten!'
end
end
|
Hmm.... for some reason I can't duplicate this on my local machine either 😠 it's only in CI: https://github.com/sul-dlss/searchworks_traject_indexer/actions/runs/4750303631/jobs/8438358385 |
@jcoyne Is it possible something extra is loaded as part of the CI job? I also tried with --dev and compiled so I don't think that would differ. |
No, I don't think it's loading any loading differently. |
In MRI 3.1, I'm able to run this rspec test where it has an implied error type of
RuntimeError
, however in jRuby I have to be explicit about the error type or I receive the following error:Similar to #7112
Using rspec 3.12.0
The code for this matcher is here
The text was updated successfully, but these errors were encountered: