diff options
author | José Valim <jose.valim@gmail.com> | 2009-06-27 14:27:26 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2009-06-27 21:30:00 +0200 |
commit | 1a15dd4de577d77f37bc39a1ca59f871aa9a395b (patch) | |
tree | 6f2e97e43a698bed000003b0a236ae2f750c714e /railties/lib/generators/test_unit/model/model_generator.rb | |
parent | acaeaf308a071d9892f8d555be0697c45558ef4c (diff) | |
download | rails-1a15dd4de577d77f37bc39a1ca59f871aa9a395b.tar.gz rails-1a15dd4de577d77f37bc39a1ca59f871aa9a395b.tar.bz2 rails-1a15dd4de577d77f37bc39a1ca59f871aa9a395b.zip |
Rename invoke_for to hook_for.
Diffstat (limited to 'railties/lib/generators/test_unit/model/model_generator.rb')
-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? |