diff options
Diffstat (limited to 'railties/lib/generators/test_unit/plugin')
-rw-r--r-- | railties/lib/generators/test_unit/plugin/plugin_generator.rb | 2 | ||||
-rw-r--r-- | railties/lib/generators/test_unit/plugin/templates/%file_name%_test.rb.tt (renamed from railties/lib/generators/test_unit/plugin/templates/test/%file_name%_test.rb.tt) | 0 | ||||
-rw-r--r-- | railties/lib/generators/test_unit/plugin/templates/test_helper.rb (renamed from railties/lib/generators/test_unit/plugin/templates/test/test_helper.rb) | 0 |
3 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/generators/test_unit/plugin/plugin_generator.rb b/railties/lib/generators/test_unit/plugin/plugin_generator.rb index fd8c4cb413..05adf58c4f 100644 --- a/railties/lib/generators/test_unit/plugin/plugin_generator.rb +++ b/railties/lib/generators/test_unit/plugin/plugin_generator.rb @@ -6,7 +6,7 @@ module TestUnit check_class_collision :suffix => "Test" def create_test_files - directory 'test', "vendor/plugins/#{file_name}/test" + directory '.', 'test' end end end diff --git a/railties/lib/generators/test_unit/plugin/templates/test/%file_name%_test.rb.tt b/railties/lib/generators/test_unit/plugin/templates/%file_name%_test.rb.tt index 3e0bc29d3a..3e0bc29d3a 100644 --- a/railties/lib/generators/test_unit/plugin/templates/test/%file_name%_test.rb.tt +++ b/railties/lib/generators/test_unit/plugin/templates/%file_name%_test.rb.tt diff --git a/railties/lib/generators/test_unit/plugin/templates/test/test_helper.rb b/railties/lib/generators/test_unit/plugin/templates/test_helper.rb index cf148b8b47..cf148b8b47 100644 --- a/railties/lib/generators/test_unit/plugin/templates/test/test_helper.rb +++ b/railties/lib/generators/test_unit/plugin/templates/test_helper.rb |