aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators
diff options
context:
space:
mode:
authorAditya Sanghi <asanghi@me.com>2011-03-23 18:06:22 +0100
committerJosé Valim <jose.valim@gmail.com>2011-03-23 18:06:30 +0100
commit3a7c7dc73d6111e7c821a81d9c56024dd35769a5 (patch)
tree2599899ea0e71e850fc8aa0bc5b3c6921b1e4414 /railties/test/generators
parenta1edbf720620c672566a1681572c3845452ca51a (diff)
downloadrails-3a7c7dc73d6111e7c821a81d9c56024dd35769a5.tar.gz
rails-3a7c7dc73d6111e7c821a81d9c56024dd35769a5.tar.bz2
rails-3a7c7dc73d6111e7c821a81d9c56024dd35769a5.zip
Fix test for prepend giving a false positive. [#5716 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'railties/test/generators')
-rw-r--r--railties/test/generators/shared_generator_tests.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/railties/test/generators/shared_generator_tests.rb b/railties/test/generators/shared_generator_tests.rb
index 592da39ccd..c9c5d2fad2 100644
--- a/railties/test/generators/shared_generator_tests.rb
+++ b/railties/test/generators/shared_generator_tests.rb
@@ -26,8 +26,7 @@ module SharedGeneratorTests
def test_plugin_new_generate_pretend
run_generator ["testapp", "--pretend"]
-
- default_files.each{ |path| assert_no_file path }
+ default_files.each{ |path| assert_no_file File.join("testapp",path) }
end
def test_invalid_database_option_raises_an_error