invert conditional for rails 3+ detection in specs