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
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to