[Ruby] Rails view testing questions
Joe Van Dyk
joevandyk at gmail.com
Tue Sep 19 12:51:52 PDT 2006
Hi,
Using the view testing functionality of ZenTest (when's that going to
be incorporated into Rails, btw?), you can test each view and partial
individually. Which is super.
But, how can you test to see that a partial is actually being rendered
correctly by a view? Say I accidently delete the call to the partial
in the view. How could a test pick up on that?
Also, is there a way to do something like deny_form, deny_input, etc?
Joe
More information about the Ruby
mailing list