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.2-java spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.3.2 spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.3.1-java spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.3.1 spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.3.0-java spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.3.0 spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.2.2-java spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.2.2 spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.2.1-java spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.2.1 spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.2.0-java spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.2.0 spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.1.6-java spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.1.6 spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.1.5-java spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.1.5 spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.1.4-java spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.1.4 spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.1.3-java spec/lib/appsignal/hooks/mri_spec.rb
appsignal-3.1.3 spec/lib/appsignal/hooks/mri_spec.rb