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.3.11-java spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.3.11 spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.4.10-java spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.4.10 spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.4.9-java spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.4.9 spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.4.8-java spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.4.8 spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.4.7-java spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.4.7 spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.4.6-java spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.4.6 spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.4.5-java spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.4.5 spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.4.4-java spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.4.4 spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.4.3-java spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.4.3 spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.4.2-java spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.4.2 spec/lib/appsignal/hooks/mri_spec.rb