How to avoid sleep in Rails system tests
28-Apr-2022 1305
Writing system tests can be sometimes tricky because we want to assert a reality that’s not yet rendered. Ad-hoc sleeping is something that can mostly address the problem, but it’s not the most elegant solution and should be avoided if possible.
How to avoid sleep in Rails system tests #ruby #rubydeveloper #rubyonrails #avoid #sleep #Rails #system #tests #tests https://rubyonrails.ba/link/how-to-avoid-sleep-in-rails-system-tests