josevalim/inherited_resources — pull request #387 by dontfidget (2014-12-29 01:51:50+00:00)
Title: allow test cases to safely modify controller class by making it unique p...

I believe the order related problems running the tests in rails 4.2 are due to test cases modifying the controller class. This pull request creates a different controller class per test case, although I did have to define `name` to make this work (because it appears to be hard to dynmically create controller classes with a known name at the time that inherited resources as initialized). An alternative might have been to just modify the singleton class in the testcases, but I think that's more confusing.