How to avoid sleep in Rails system tests

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 #tests https://rubyonrails.ba/single/how-to-avoid-sleep-in-rails-system-tests

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles