The send call never expects an object reference as a parameter. Either it is called on an object or without an object context (i.e. kernel). In the first case the parameter should contain one of the receiving object's methods. In the second case the parameter is a kernel method.
But... that's not really an RSpec topic anymore. Chris Olsen schrieb: > Will obj.send(:method) work in 1.9 or is it saying that the send call > requires 2 params, the method and the object reference? > > _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users