fixing the rails integration specs