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

Merged
merged 1 commit into from May 19, 2012

Projects

None yet

2 participants

Hi,

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.

Thanks!
Jeff

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.
7247798
@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