diff options
author | Aditya Sanghi <asanghi@me.com> | 2011-03-23 18:06:22 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-03-23 18:06:30 +0100 |
commit | 3a7c7dc73d6111e7c821a81d9c56024dd35769a5 (patch) | |
tree | 2599899ea0e71e850fc8aa0bc5b3c6921b1e4414 /railties/test/generators | |
parent | a1edbf720620c672566a1681572c3845452ca51a (diff) | |
download | rails-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.rb | 3 |
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 |