Sha256: b1807baf325100336fedd9a1a9b8c96ea0e9b3e8cc9456e4c19e725c6ffc6d7f
Contents?: true
Size: 454 Bytes
Versions: 1
Compression:
Stored size: 454 Bytes
Contents
require "support/sequel_test_support" RSpec.shared_context "sequel persistence setup" do include SequelMapper::SequelTestSupport before { truncate_tables } let(:datastore) { db_connection.tap { |db| # The query_counter will let us make assertions about how efficiently # the database is being used db.loggers << query_counter } } let(:query_counter) { SequelMapper::SequelTestSupport::QueryCounter.new } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sequel_mapper-0.0.3 | spec/support/sequel_persistence_setup.rb |