We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Thanks a lot for this project! You've saved me (and probably many others) countless hours of brainless rewriting of tests.
But, I have one issue currently: We have quite a lot of tests in our test suite, where we only set the :headers but not the :params:
:headers
:params
get users_path, headers: { my_header: 'gugus' }
The tool currently does not correctly recognize that the :headers part should not be wrapped within :params, because the resulting code is:
get users_path, params: { headers: { my_header: 'gugus' } }
I'm probably going to open a PR later for fixing this problem.
The text was updated successfully, but these errors were encountered:
Fixes tjgrathwell#13: Do not wrap the :headers hash within :params
8740cd6
I just noticed that the :xhr attribute has the same problem and is also wrapped within :params. I'm quickly going to change that in my PR too.
:xhr
Sorry, something went wrong.
Fixes tjgrathwell#13: Also do not wrap the :xhr attribute within :params
c6adf87
No branches or pull requests
Thanks a lot for this project! You've saved me (and probably many others) countless hours of brainless rewriting of tests.
But, I have one issue currently: We have quite a lot of tests in our test suite, where we only set the
:headers
but not the:params
:The tool currently does not correctly recognize that the
:headers
part should not be wrapped within:params
, because the resulting code is:I'm probably going to open a PR later for fixing this problem.
The text was updated successfully, but these errors were encountered: