fix tests with rubinius 2.2 and rails 3.2