Sha256: 4a85948261db5ae4ab29651840b9c21740c894a65ef829c55cb4c8b4eef08740

Contents?: true

Size: 445 Bytes

Versions: 20

Compression:

Stored size: 445 Bytes

Contents

if DependencyHelper.padrino_present?
  describe "Sinatra integration" do
    it "loads the Sinatra loader" do
      ENV["APPSIGNAL_APP_NAME"] = "test/sinatra"
      ENV["APPSIGNAL_PUSH_API_KEY"] = "test-key"

      require "appsignal/integrations/sinatra"

      expect(Appsignal::Loaders.instances).to include(
        :sinatra => kind_of(Appsignal::Loaders::SinatraLoader)
      )
      expect(Appsignal.active?).to be(true)
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
appsignal-3.13.1-java spec/lib/appsignal/integrations/sinatra_spec.rb
appsignal-3.13.1 spec/lib/appsignal/integrations/sinatra_spec.rb
appsignal-3.13.1.alpha.1-java spec/lib/appsignal/integrations/sinatra_spec.rb
appsignal-3.13.1.alpha.1 spec/lib/appsignal/integrations/sinatra_spec.rb
appsignal-3.13.0-java spec/lib/appsignal/integrations/sinatra_spec.rb
appsignal-3.13.0 spec/lib/appsignal/integrations/sinatra_spec.rb
appsignal-3.12.6-java spec/lib/appsignal/integrations/sinatra_spec.rb
appsignal-3.12.6 spec/lib/appsignal/integrations/sinatra_spec.rb
appsignal-3.12.5-java spec/lib/appsignal/integrations/sinatra_spec.rb
appsignal-3.12.5 spec/lib/appsignal/integrations/sinatra_spec.rb
appsignal-3.12.4-java spec/lib/appsignal/integrations/sinatra_spec.rb
appsignal-3.12.4 spec/lib/appsignal/integrations/sinatra_spec.rb
appsignal-3.12.3-java spec/lib/appsignal/integrations/sinatra_spec.rb
appsignal-3.12.3 spec/lib/appsignal/integrations/sinatra_spec.rb
appsignal-3.12.2-java spec/lib/appsignal/integrations/sinatra_spec.rb
appsignal-3.12.2 spec/lib/appsignal/integrations/sinatra_spec.rb
appsignal-3.12.1-java spec/lib/appsignal/integrations/sinatra_spec.rb
appsignal-3.12.1 spec/lib/appsignal/integrations/sinatra_spec.rb
appsignal-3.12.0-java spec/lib/appsignal/integrations/sinatra_spec.rb
appsignal-3.12.0 spec/lib/appsignal/integrations/sinatra_spec.rb