now passing spec in rails 4