Sha256: df97be64ebb8c59cae7b8f1481587a2a973925c44bcc8ac93535a677e2ac1506
Contents?: true
Size: 361 Bytes
Versions: 4
Compression:
Stored size: 361 Bytes
Contents
#require_relative "../lib/database" # http://sequel.jeremyevans.net/rdoc/files/doc/testing_rdoc.html class SequelTestCase < Minitest::Test def run(*args, &block) Underway::DB.configure("sqlite:/") # Always assume an in-memory database for now Sequel::Model.db.transaction( rollback: :always, auto_savepoint: true ){super} end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
underway-2.0.0 | test/sequel_helper.rb |
underway-1.1.0 | test/sequel_helper.rb |
underway-1.0.1 | test/sequel_helper.rb |
underway-1.0.0 | test/sequel_helper.rb |