Skip to content

Commit

Permalink
Add dbstat test
Browse files Browse the repository at this point in the history
  • Loading branch information
pawurb committed Nov 19, 2024
1 parent 6020fc2 commit e3dd1e2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/test_database.rb
Original file line number Diff line number Diff line change
Expand Up @@ -721,5 +721,9 @@ def test_transaction_returns_block_result
result = @db.transaction { :foo }
assert_equal :foo, result
end

def test_dbstat_table_exists
assert_nothing_raised { @db.execute("select * from dbstat") }
end
end
end

0 comments on commit e3dd1e2

Please sign in to comment.