AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
Ruby on Rails for Unit Testing Live View
The mock just makes life so much easier for unit testing live view. I think the best way to test the rendered HTML, both in live view and long live view way is a browser test. And we use a capybara for that Ruby on Rails. So you can write all of your HTML expectations, what happens when you click this button, where it gets redirected all of that in rspec Ruby.