Permalink
Browse files

Removing redundant File.expand_path from generators test

Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information...
1 parent 6ba8caf commit e8a578224f6abc21c319a6410fe100d15fb77789 @vinibaggio vinibaggio committed with josevalim Feb 23, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/test/generators/generators_test_helper.rb
@@ -34,6 +34,6 @@ def copy_routes
routes = File.expand_path("../../../lib/rails/generators/rails/app/templates/config/routes.rb", __FILE__)
destination = File.join(destination_root, "config")
FileUtils.mkdir_p(destination)
- FileUtils.cp File.expand_path(routes), destination
+ FileUtils.cp routes, destination
end
end

0 comments on commit e8a5782

Please sign in to comment.