Fix Rails test which used the old shortcut-syntax