2007/10/9, Lance Carlson <[EMAIL PROTECTED]>: > or if you want to test that it is being called.. you could do > template.should_receive(:yield).and_return('')
I'm missing a point... how can you expect to receive a :yield message since yield is a Ruby keyword ? -- Jean-François. -- Ruby ( http://www.rubyfrance.org ) on Rails ( http://www.railsfrance.org ) _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users