rspec_api_documentation icon indicating copy to clipboard operation
rspec_api_documentation copied to clipboard

When use this gem?

Open piotr-galas opened this issue 7 years ago • 1 comments

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.

piotr-galas avatar May 23 '17 06:05 piotr-galas

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.

terry90 avatar May 23 '17 08:05 terry90