Created Testing Templates (markdown)

rafaelcaricio 2011-08-23 07:31:54 -07:00
parent ec6c1018fb
commit 078c90655f

10
Testing-Templates.md Normal file

@ -0,0 +1,10 @@
Helper method in DjangoContext:
- DjangoContext.template(...)
Assetions:
- to_contain([CSS selector])
Template object:
- load(...) -> String
- select_element(...) -> Selector
- get_text([CSS selector]) -> String