Open florinionce opened 4 years ago
@florinionce sorry for not a related question, but you have two tests in your spec, but it shows only one example in doc. Shouldn't it show two examples?
@sasharevzin - that's because I only wrote show_in_doc: true
for one of the tests.
In order to display multiple tests, I pretty much follow this example
Hello,
I'm not sure if this is intended, or a known limitation or I'm simply making something wrong, but If I record the examples from RSpec, I don't get the parameters in the generated documentation.
Let's say I have this dummy spec:
If I record the examples, I don't get the parameter that is being sent in the parameters list, I can only see it in the example from above. See the following screenshot
This is my config:
I know that I can get it working by adding
param :sort, [true, false]
, but I was wondering If I can do it without having to write all the params. I would rather rely on the specs to keep the documentation up to date, instead of manually making all the changes.Is there something that I am missing here or it's just ignoring them?