Isolate railties Generators Tests

With this change jruby should pass all of the railties tests.

#11700

cc: @arunagw, @rafaelfranca