You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm pretty new to that
I have a helper method that I want to use at various places
Also note that it's a rspec helper
Here is my documented method and the solargraph magic, when I try to use it IN THE SAME FILE (which is useless, but shows that it's documented)
So I configure Rspec to include the module in specific tests
I then start my spec file with
require "rails_helper"
TBH I don't expect YARD to be that smart so my documentation is available right of the bat
Though even if I try to "force" yard to make my helper method available, it doesn't show up:
Beta Was this translation helpful? Give feedback.
All reactions