Skip to content

Fix describe for notes_finder_spec.rb in ee/

Thong Kuah requested to merge fix_ee_notes_finder_spec_describe into master

Two issues:

  1. The describe is a string
  2. The describe is not describing the right constant

If I change the string to a constant, I now get:

ee/spec/finders/notes_finder_spec.rb:5:1: C: RSpec/FilePath: Spec path should end with ee/notes_finder*_spec.rb.
describe EE::NotesFinder do
^^^^^^^^^^^^^^^^^^^^^^^^

So fix this to be describe NotesFinder instead.

Related issue: #209052 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports

Loading