Feature/rails3 fix specs

https://www.openproject.org/issues/1448