-
Notifications
You must be signed in to change notification settings - Fork 26
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
Weird bug - Put and Post tests showing up as Get #25
Comments
Hi, thanks for the detailed report. Definitely a weird bug! Could you use the JSON renderer and post the corresponding section here? Trying to figure out if it's a problem with the data model, or in the HTML rendering. |
Looks like it's in the data model - here, from the JSON docs, it thinks the method's a Get. {
"name": "should update existing metadata",
"summary": "should update existing metadata",
"hierarchy": [
"Participant CRUD tests",
"Participant PUT",
"should update existing metadata"
],
"request": {
"headers": {
"x-access-token": "ThisIsAToken",
"content-type": "application/json",
"content-length": 119
},
"method": "GET",
"path": "/api/participant/",
"data": {
"metadata": []
}
}
} |
That's very odd.... I'll try to reproduce it locally. |
Would nesting a test affect it? Like:
|
Potentially, as |
The test for this looks like this:
And it generates the correct CURL but incorrect tagging and styling:
The "it" block is nested within two "describe" blocks - the top one to group general objects, the second to group the verb on that object, in this case "participant CRUD" then "participant PUT." This is an occasional bug - it looks like it just turns up sometimes on large suites.
The text was updated successfully, but these errors were encountered: