Rspec request specs for an API Controller with Rails
Vložit
- čas přidán 30. 05. 2024
- In this episode, you'll learn a little about setting up a request spec with Rspec to test an API controller in a Ruby on Rails application
#rails #rubyonrails - Jak na to + styl
Like how simple you make testing look. Thanks CJ
Thanks for excelent explanation, keep on rspec stuff and helpers please!
Thank you very much. This is very valuable
Great tutorial.
great video !!
please can u explain how we can deal with unauthorized user , I saw in this video skip_pefore_action put u don't talk about it
I have a question. I have requirements to make an API which will have data(Json) + files.
As in accepting file uploads?
@@cjav_dev yes. I created a API using types form to upload file + data. In controller I received as string and convert into action controller parameters. Now I want to create it's rspec test case.
give just one example on post all cases get nothing new