Sha256: 43a920a3d796e76b4ec96471f74fa4a9e2a3ebfc57ee034cf8c605fb78b1637a

Contents?: true

Size: 563 Bytes

Versions: 136

Compression:

Stored size: 563 Bytes

Contents

describe Appsignal::Hooks::MriHook do
  describe "#dependencies_present?" do
    subject { described_class.new.dependencies_present? }

    if DependencyHelper.running_jruby?
      it { is_expected.to be_falsy }
    else
      it { is_expected.to be_truthy }
    end
  end

  unless DependencyHelper.running_jruby?
    context "install" do
      before do
        Appsignal::Hooks.load_hooks
      end

      it "should be added to minutely probes" do
        expect(Appsignal::Minutely.probes[:mri]).to be Appsignal::Probes::MriProbe
      end
    end
  end
end

Version data entries

136 entries across 136 versions & 1 rubygems

Version Path
appsignal-3.7.0-java spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.7.0 spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.6.5-java spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.6.5 spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.6.4-java spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.6.4 spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.6.3-java spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.6.3 spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.6.2-java spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.6.2 spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.6.1-java spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.6.1 spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.6.0-java spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.6.0 spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.5.6-java spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.5.6 spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.5.5-java spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.5.5 spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.5.4-java spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.5.4 spec/lib/appsignal/hooks/mri_spec.rb