fix failing test on rails 4
v0.3.1