Writing Controller Spec for POST Action

Опубликовано: 14 Октябрь 2024
на канале: APPSIMPACT Academy
1,161
12

#rubyonrails #rspec #railsdevelopment #rspecbdd

Hello Friends

In this lecture we will be working on writing controller specs for create action. Here you will see how to test a post request in a controller using both HTML and Turbo Stream format. I used very basic examples here but I am sure this will definitely give you the idea of writing controller specs for post action. Please watch the complete lecture for a better understanding.

Thanks