[rspec-users] Wrong number of arguments (reduce, rspec/core/metadata)
Thibaut Barrère
thibaut.barrere at gmail.com
Tue Nov 29 11:02:05 EST 2011
In case it helps someone else: I couldn't find if the method was redefined
by another class, but applying this patch solves the issue:
https://github.com/rspec/rspec-core/commit/41c20dfc4e8bc99b6c7bba1e074883614d2aa656
(using inject instead of reduce).
I'm on ruby 1.8.7 (2010-08-16 patchlevel 302). The issue happens with RSpec
2.7.0, but not with RSpec 2.5.0.
-- Thibaut
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20111129/12f2a959/attachment.html>
More information about the rspec-users
mailing list