On 24.01.2009, at 6:46, Phlip wrote:

> This will save me a bit of research if I know the destination.  
> Within Merb's
> concept of a view test, how to I whip out only one partial and  
> render it into
> @response.body?


Merb's concept of testing of requests is "test the whole stack". It  
does not matter how isolated your tests are,
as long as they do what they supposed to do: reveal problems as you do  
changes to the code.

I personally only test models and libraries heavily, and cucumber with  
webrat to back me when it comes to
changes in controllers and views. So my answer to this question is  
probably "you don't test that granular, it gives you no benefits to  
bother".

MK


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to