Fix rails spec