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.5.3-java spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.5.3 spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.5.2-java spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.5.2 spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.5.1-java spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.5.1 spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.5.0-java spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.5.0 spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.4.16-java spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.4.16 spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.4.15-java spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.4.15 spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.4.14-java spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.4.14 spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.4.13-java spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.4.13 spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.4.12-java spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.4.12 spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.4.11-java spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.4.11 spec/lib/appsignal/hooks/mri_spec.rb