Skip to content

Commit

Permalink
Fix rack spec when rack is not present
Browse files Browse the repository at this point in the history
  • Loading branch information
solnic committed Aug 26, 2024
1 parent b7812be commit 166768b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sentry-ruby/spec/sentry/rack/capture_exceptions_spec.rb
Original file line number Diff line number Diff line change
@@ -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) }
Expand Down

0 comments on commit 166768b

Please sign in to comment.