Loosen rails dependency for rails 4 testing