rip747 / Mustache.cfc

{{ mustache }} for ColdFusion
http://mustache.github.com/
MIT License
46 stars 22 forks source link

More accurate unit tests for the custom tag version #5

Closed seancoyne closed 12 years ago

seancoyne commented 12 years ago

I noticed Dan's pull request (#Num: #4) and tried it out and realized that my tests weren't as accurate as they should be. The custom tag unit test now extends the base render test and simply overrides the tearDown method to run the custom tag instead of just the cfc. This will ensure as tests are added going forward the custom tag is tested as well.

I also cleaned up some overzealous trimming that Dan's whitespace modifications brought to light.