Sha256: c6015fd95653924eac57dbf17b75e3212081d157d41429c3763cd2e62b849050
Contents?: true
Size: 511 Bytes
Versions: 28
Compression:
Stored size: 511 Bytes
Contents
require 'spec_helper' describe "Sequel integration", if: sequel_present? do let(:file) { File.expand_path('lib/appsignal/integrations/sequel.rb') } let(:db) { Sequel.sqlite } before do load file start_agent end context "with Sequel" do before { Appsignal::Transaction.create('uuid', 'test') } it "should instrument queries" do expect { db['SELECT 1'].all } .to change { Appsignal::Transaction.current.events.empty? } .from(true).to(false) end end end
Version data entries
28 entries across 28 versions & 1 rubygems