README.md in lazy-head-gen-0.3.1 vs README.md in lazy-head-gen-0.3.2

- old
+ new

@@ -121,24 +121,36 @@ ``` padrino g scaffold Product title:string summary:text quantity:integer available_from:datetime display:boolean -c ``` -## Extras +## Tests ### Built in assertions and test helpers -TODO: Write about these +First off you will need to add this line to your test_config.rb file, after you have required boot.rb. +``` +include LazyHeadGen +``` + +This will allow you to access the couple of test helpers that are used in the generated tests. + +TODO: list test helper methods. + ### blueprints.rb -If you already have a blueprints.rb file, the scaffold generator looks for *# END blueprints* as a marker to insert the generated models blueprint. This is a bit... well crap... but I currently haven't thought of another way to do it. +The scaffold and admin_controller_test generators are reliant on you using a blueprints.rb file. +## Known Issues (probably loads of unknown!) + +* If you generate an admin_controller_test for the admin account controller you end up with 2 failing tests. Other generated admin tests pass. + ## To Do List * Finish README - Built in assertions and test helpers -* See if there is a better way to do the blueprint inserts * Add form output to the scaffold generator +* Figure out why generated test for the Admin Account controller fails. ## Contributing to lazy-head-gen * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it \ No newline at end of file