[go: up one dir, main page]

Skip to content

Fix RSpec/NamedSubject issue in spec/controllers/snippets/notes_controller_spec.rb

This issue is part of the Source Code Management backend team's effort to resolve RuboCop violations.

Violation

File: spec/controllers/snippets/notes_controller_spec.rb Cop: RSpec/NamedSubject

Steps to resolve

  1. Remove the entry from the RuboCop todo file
  2. Fix the violation in the code
  3. Ensure tests pass
  4. Submit the merge request