search for: third_valu

Displaying 1 result from an estimated 1 matches for "third_valu".

Did you mean: third_value
2008 Jun 05
1
Using and_yield to pass multiple or no iterations
...egg.do_thing.should be_true end </SPEC> Secondly, is this the best (correct) way to pass multiple values to iterate over? <SPEC> it "should be doing something else, too" @egg.stub!( :each_row ). and_yield( :first_value ). and_yield( :second_value ). and_yield( :third_value ) @egg.do_thing.should be_true end </SPEC> As you can see, my understanding of and_yield() is *very* imperfect, so any & all pointers are very gratefully received. Cheers, Doug. -- Posted via http://www.ruby-forum.com/.