added spec support for multiple rails versions refs: #763

This PR is a fix for #763. Tests run now with appraisal against multiple rails versions.