frontend: Rails 3.x: Fix test to work