rspec_api_documentation
rspec_api_documentation copied to clipboard
When use this gem?
I need some advise. I used this gem in my recent projects (rails was just api) and it works really great.
In my current project I have no classical api but I have a lot of react components embedded in rails views and those components speak with rails controllers via json.
I want to use this gem for acceptance tests but I wondering if I should. I didn't find anywhere similar approach.
Well, it's still an internal API. You can use it if you want. AFAIK, there is no more restrictions than having GET/POST etc.. endpoints and writing acceptance tests.
In my opinion it is really fast to write these specs and get results fast, so why not.