vim-rails icon indicating copy to clipboard operation
vim-rails copied to clipboard

:AV with for requests specs

Open deniciocode opened this issue 3 years ago • 2 comments
trafficstars

For most of the api only rails application, requests specs are used in favour of controller specs. :AV does not recognise requests specs.

Could we have a fallback to them?

app/controller/api_controller.rb -> spec/requests/api_controller_spec.rb or/and app/controller/api_controller.rb -> spec/requests/api_spec.rb

deniciocode avatar Apr 26 '22 07:04 deniciocode

AIUI, request specs are now used in favour of controller specs for all Rails applications.

mvz avatar Jun 06 '23 13:06 mvz

Any update on this? Most people now use request specs and this would help a lot.

bendangelo avatar Aug 08 '24 15:08 bendangelo