Minor updates for Ruby 3.x.

FossilOrigin-Name: 792a95e73dbfb858dbbd56b1140c2ddf6bc3afb558e65cc665f30fd6db6833e1
This commit is contained in:
Mahlon E. Smith 2022-08-08 23:02:59 +00:00
parent 3cc4fe1e02
commit 442d19ecb5
4 changed files with 4 additions and 7 deletions

View file

@ -71,8 +71,7 @@ RSpec.describe( MDBX::Database ) do
# here for behavior.
expect {
described_class.open( TEST_DATABASE.to_s )
}.
to raise_exception( MDBX::DatabaseError, /environment is already used/ )
}.to raise_exception( MDBX::DatabaseError, /resource \w+ unavailable/i )
end
end