Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

:AV with for requests specs #585

Open
deniciocode opened this issue Apr 26, 2022 · 2 comments
Open

:AV with for requests specs #585

deniciocode opened this issue Apr 26, 2022 · 2 comments

Comments

@deniciocode
Copy link

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

@mvz
Copy link

mvz commented Jun 6, 2023

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

@bendangelo
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants