Isolate railties Generators Tests

With this change jruby should pass all of the railties tests.
Merge pull request #11726 from atambo/isolate_generator_tests

Isolate railties Generators Tests