#1114: Rename AgaviViewTestCase Assertions to something more explicit
-------------------------+--------------------------------------------------
 Reporter:  felix        |       Owner:  felix
     Type:  enhancement  |      Status:  new  
 Priority:  normal       |   Milestone:       
Component:  testing      |     Version:  1.0.1
 Severity:  normal       |    Keywords:       
Has_patch:  0            |  
-------------------------+--------------------------------------------------
 The assertions in the AgaviViewTestCase imply that they act on the full
 response object whereas the actual scope is on the data set by the view
 only. Examples:

  * assertResponseHasContentType
  * assertResponseHasHeader
  * assertResponseHasCookie

 Those should be named clearer, maybe

  * assertViewSetsContentType
  * assertViewSetsHeader
  * assertViewSetsCookie

 which would make clear that the scope is on the view and not the global
 response.

 See #1113 for an example.

-- 
Ticket URL: <http://trac.agavi.org/ticket/1114>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5


_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets

Reply via email to