Sha256: 95eaffc7b1734bf20fb6d94d610d67c0fa7495c6b595b55499e7e3d8581eaf70
Contents?: true
Size: 315 Bytes
Versions: 40
Compression:
Stored size: 315 Bytes
Contents
require "spec_helper" describe "Simple::SQL logging" do context 'when running a slow query' do before do SQL::Logging.slow_query_treshold = 0.05 end after do SQL::Logging.slow_query_treshold = nil end it "does not crash" do SQL.ask "SELECT pg_sleep(0.1)" end end end
Version data entries
40 entries across 40 versions & 1 rubygems