On 8/6/07, aslak hellesoy <[EMAIL PROTECTED]> wrote:
> @curr_odontogram.photos.should_receive(:[]).with(1).and_return(@photo)
>
> Aslak

D'oh! Of course - that should do it.
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to