问题内容: Sometime I really need to check something in the database, But if I immediate will go to database with u = User.last there is a chance that AJAX request wont finished and in the User.last – I’ll find old record. So for this I need some workaround, for example, assert has_content? ‘Success’ do #