fix specs for delayed job