cakephp/cakephp — pull request #1502 by renansaddam (2013-08-09 21:15:16+00:00)
Title: Adding files to be compared against bake generated files, fixing bake templates in the meantime.

This is a followup of the discussion in https://github.com/cakephp/cakephp/pull/1458#issuecomment-22328899.

Writing assertContains or assertRegExp for generated code is a pain and making the test cover most part of it is very difficult.

Things like:
```
} else {
}
```

Are very easy to happen (which was the case) and was not being covered by the test.