resque_spec
resque_spec copied to clipboard
peek implementation broken for resque 1.23
Resque queue peek function that relies on slice function returns either a single element or an array whereas ResqueSpec peek function returns always an array because it relies on Array Class slice function. This may cause some problems with specs using peek.
Hi @pisaruk,
Heads down busy at the moment – pull request would be great :)