thanks pat, it's still a good primer ;)
I'm getting a better handle at it, but I'm still confused as to how to
test assigment of associated objects. for instance, how do I test this
(using attachment_fu)?
@work.image = @image
2008/3/11, Pat Maddox <[EMAIL PROTECTED]>:
> On Mon, Mar 10, 2008 at 2:01 PM, Oliver Barnes
> <[EMAIL PROTECTED]> wrote:
> > hello spec'ers,
> >
> > i'm in the hunt for guides on testing controllers with rspec, would
> > you guys recommend any?
>
>
> Oldie but goodie (I hope) -
>
> http://evang.eli.st/blog/2007/9/15/easy-controller-tests-and-expressing-intent-through-expectations
>
> Pat
> _______________________________________________
> rspec-users mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/rspec-users
>
--
Oliver Azevedo Barnes
[EMAIL PROTECTED]
+55 11 9768 0193
http://www.linkedin.com/in/oliverbarnes
http://workingwithrails.com/person/4704-oliver-barnes
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users