From 166768b8416a7ef730dfac2a11549684318d5196 Mon Sep 17 00:00:00 2001 From: Peter Solnica Date: Mon, 26 Aug 2024 07:00:21 +0000 Subject: [PATCH] Fix rack spec when rack is not present --- sentry-ruby/spec/sentry/rack/capture_exceptions_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sentry-ruby/spec/sentry/rack/capture_exceptions_spec.rb b/sentry-ruby/spec/sentry/rack/capture_exceptions_spec.rb index e2a226f77..41aea9bc0 100644 --- a/sentry-ruby/spec/sentry/rack/capture_exceptions_spec.rb +++ b/sentry-ruby/spec/sentry/rack/capture_exceptions_spec.rb @@ -1,6 +1,6 @@ require 'spec_helper' -RSpec.describe Sentry::Rack::CaptureExceptions, when: :rack_available? do +RSpec.describe 'Sentry::Rack::CaptureExceptions', when: :rack_available? do let(:exception) { ZeroDivisionError.new("divided by 0") } let(:additional_headers) { {} } let(:env) { Rack::MockRequest.env_for("/test", additional_headers) }