Fix test that would never fail; and make the test more intention-revealing #30

merged 1 commit into from May 19, 2012


None yet

2 participants


I found an issue with one of the tests. Previously the test would never fail, so if the router recognition was broken we might not know. I've fixed that and also changed the path under test to make it easier to see that it should not be a recognized path.

If you have any questions, please feel free to let me know. I hope we can get this into the next Rails 3.2.x release.


Jeff Cohen Fix test_path_not_found so that it will indeed fail if the router is …
…given an unknown path. Also change the test path to make it more obvious that the given path should not be recognized.
@tenderlove tenderlove merged commit 622f535 into rails:master May 19, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment