Checkpoint commit, start sketching out MDBX::Database.
FossilOrigin-Name: 92f55b2d6cc9652cb9cb67e69588ed0f4f155086a5a160aae68a1f22e9114314
This commit is contained in:
parent
6a7bfb722f
commit
37b8091690
11 changed files with 600 additions and 8 deletions
13
spec/mdbx/database_spec.rb
Normal file
13
spec/mdbx/database_spec.rb
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env rspec -cfd
|
||||
|
||||
require_relative '../lib/helper'
|
||||
|
||||
|
||||
RSpec.describe( MDBX::Database ) do
|
||||
|
||||
it "disallows direct calls to #new" do
|
||||
expect{ described_class.new }.
|
||||
to raise_exception( NoMethodError, /private/ )
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue