skryl/qbwc — pull request #31 by rchekaluk (2014-12-06 17:06:27+00:00)
Title: Reproduce issue #30

These are additional test cases for testing the controller and routes. I wrote them in Test::Unit since that turned out to be an easier path than using rspec (presumably, they could be migrated to rspec someday by someone with better knowledge of rspec than I have). I'm contributing these tests for your review as it took significant twiddling to flesh them out, and presumably they may help to increase test coverage for this gem.

Significantly, these test cases include one that reproduces #30 (including changing route order per https://github.com/skryl/qbwc/issues/30#issuecomment-65899775). I do have a (somewhat naive) fix contained in gem wash_out, and will be sending a companion pull request to that gem also.