On 12/4/06, s.ross <cwdinfo at gmail.com> wrote:> I have a Rails model that has an observer. The function of the
> observer is to send an email when a particular state change occurs in
> the model. Because the template rendering code is not loaded when
> doing model testing, I''ve had to shut off the email functionality
of
> the observer for testing.
>
> Is there a better way to handle this?
>
Submit an RFE to Rubyforge with some code describing how you would
like it to work.
Aslak
> Thanks
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>