Fix RSpec/NoExpectationExample offenses and enable cop#4562
Conversation
- Migrated legacy `.should` syntax to modern `expect(...).to` syntax. - Added explicit expectations to view and routing specs that were missing them. - Added basic assertions to Percy feature tests to ensure page load before snapshot. - Enabled `RSpec/NoExpectationExample` by removing it from `.rubocop_todo.yml`. - Added targeted exclusion for `spec/features/percy/percy_spec.rb` in `.rubocop.yml`. Co-authored-by: CloCkWeRX <365751+CloCkWeRX@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
Co-authored-by: Daniel O'Connor <daniel.oconnor@gmail.com>
Co-authored-by: Daniel O'Connor <daniel.oconnor@gmail.com>
Co-authored-by: Daniel O'Connor <daniel.oconnor@gmail.com>
Co-authored-by: Daniel O'Connor <daniel.oconnor@gmail.com>
This PR addresses over 400
RSpec/NoExpectationExampleoffenses by migrating legacy.shouldsyntax and adding missing assertions. It also enables the cop globally while excluding pure visual regression tests that only perform snapshots.PR created automatically by Jules for task 15099476535232118328 started by @CloCkWeRX