diff options
author | Vinicius Baggio <vinibaggio@gmail.com> | 2011-02-23 10:40:08 -0300 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-02-23 19:42:51 +0100 |
commit | e8a578224f6abc21c319a6410fe100d15fb77789 (patch) | |
tree | e5cd2be554219c9e89216adaf02fccba88aa5fab /railties/test/generators | |
parent | 6ba8caf3ee239fd7010b18ff251cb5c2d52b48c4 (diff) | |
download | rails-e8a578224f6abc21c319a6410fe100d15fb77789.tar.gz rails-e8a578224f6abc21c319a6410fe100d15fb77789.tar.bz2 rails-e8a578224f6abc21c319a6410fe100d15fb77789.zip |
Removing redundant File.expand_path from generators test
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'railties/test/generators')
-rw-r--r-- | railties/test/generators/generators_test_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/generators/generators_test_helper.rb b/railties/test/generators/generators_test_helper.rb index 46a6da3568..1b9a8fd8a7 100644 --- a/railties/test/generators/generators_test_helper.rb +++ b/railties/test/generators/generators_test_helper.rb @@ -34,6 +34,6 @@ module GeneratorsTestHelper 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 |