upgrading to rails 4 specs still failing but fixed deprecation