Fix RuboCop offenses in several ErrorTracking specs
All threads resolved!
All threads resolved!
Compare changes
Files
18@@ -5992,7 +5992,6 @@ Layout/LineLength:
This MR resolves current and upcoming RuboCop
Extracted from !85907 (merged).
n/a
merge_base=$(git merge-base pl-error-tracking-rubocop-offenses origin/master)
changed=$(git diff --name-only $merge_base | grep -v yml)
$ REVEAL_RUBOCOP_TODO=1 exec rubocop $changed
Inspecting 14 files
.............C
Offenses:
spec/support/shared_contexts/sentry_error_tracking_shared_context.rb:3:22: C: RSpec/ContextWording: Start context description with 'when', 'with', or 'without'.
RSpec.shared_context 'sentry error tracking context' do
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14 files inspected, 1 offense detected
$ REVEAL_RUBOCOP_TODO=0 bundle exec rubocop $changed
Inspecting 14 files
..............
14 files inspected, no offenses detected
bin/rspec $(tff -f tests.yml $changed)
.........................................................................................
Finished in 18.18 seconds (files took 8.61 seconds to load)
89 examples, 0 failures
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.