Multi-step exec support (#27)

This commit is contained in:
Tom Richards 2017-09-14 14:51:25 -04:00 committed by Brian J. Cardiff
parent c850ec4b72
commit e6d5ad33c3
2 changed files with 13 additions and 1 deletions

View file

@ -119,4 +119,12 @@ DB::DriverSpecs(DB::Any).run do
end
end
end
it "handles single-step pragma statements" do |db|
db.exec %(PRAGMA synchronous = OFF)
end
it "handles multi-step pragma statements" do |db|
db.exec %(PRAGMA journal_mode = memory)
end
end