mozilla / connect-cachify

Express connect middleware to provide easy frontend caching for Node.js
Mozilla Public License 2.0
132 stars 21 forks source link

Remove duplicate resp code in unit tests by creating a generic "get_resp" funciton. #26

Closed shane-tomlinson closed 11 years ago

shane-tomlinson commented 11 years ago

@ozten - mind reviewing? The code that created the resp object was identical across all tests, so I created one generic function to do it.