mirror of
https://github.com/lostisland/faraday.git
synced 2025-08-29 00:03:58 -04:00
spec: JRuby-proof a test about error messages
This commit is contained in:
parent
284d920cf3
commit
52e30bf8e8
@ -189,7 +189,7 @@ RSpec.describe Faraday::RackBuilder do
|
||||
|
||||
it 'raises an error while making a request' do
|
||||
expect { conn.get('/') }.to raise_error(RuntimeError) do |err|
|
||||
expect(err.message).to eq('missing dependency for Broken: cannot load such file -- zomg/i_dont/exist')
|
||||
expect(err.message).to match(%r{missing dependency for Broken: .+ -- zomg/i_dont/exist})
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user