On Nov 8, 2011, at 10:45 AM, Thibaut Barrère wrote: > Hello, > > I'm a bit puzzled on this one. > > I'm getting a wrong number of arguments on a reduce call (full stack trace > here: https://gist.github.com/1348309). > > Any idea where it could come from? (I tried with 2.7.1 and 2.8.0.rc1). > > FWIW, it's a Rails 2.3/RSpec 1 app that I'm migrating to Rails 3.0/RSpec 2. > > Any hint is most welcome! > > thanks, > > -- Thibaut
reduce has a number of different forms, one of which is collection.reduce { ... } (with a block but no args). My best guess is either your app or another lib/gem is redefining reduce. Possible? _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users