diff options
Diffstat (limited to 'railties/lib/generators/test_unit')
-rw-r--r-- | railties/lib/generators/test_unit/model/model_generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/generators/test_unit/model/model_generator.rb b/railties/lib/generators/test_unit/model/model_generator.rb index 6aff027107..dc53c7cf2f 100644 --- a/railties/lib/generators/test_unit/model/model_generator.rb +++ b/railties/lib/generators/test_unit/model/model_generator.rb @@ -10,7 +10,7 @@ module TestUnit template 'unit_test.rb', File.join('test/unit', class_path, "#{file_name}_test.rb") end - invoke_for :fixture_replacement + hook_for :fixture_replacement def create_fixture_file if options[:fixture] && options[:fixture_replacement].nil? |