Sha256: caa46f0e998cdb82b9463835f548de0c39f1ceca7def9d6cd72fcbba4ccfbbb1
Contents?: true
Size: 490 Bytes
Versions: 47
Compression:
Stored size: 490 Bytes
Contents
require 'spec_helper' if sinatra_present? && !padrino_present? ENV['APPSIGNAL_PUSH_API_KEY'] = 'key' require 'appsignal/integrations/sinatra' describe "Sinatra integration" do context "logger" do subject { Appsignal.logger } it { should be_a Logger } end it "should have added the instrumentation middleware" do Sinatra::Application.middleware.to_a.should include( [Appsignal::Rack::SinatraInstrumentation, [], nil] ) end end end
Version data entries
47 entries across 47 versions & 1 rubygems