vim-rails
vim-rails copied to clipboard
:AV with for requests specs
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
AIUI, request specs are now used in favour of controller specs for all Rails applications.
Any update on this? Most people now use request specs and this would help a lot.