remove unnused method from test

Removes a method that is no longer used in railties/test/rails_info_test.rb