diff options
Diffstat (limited to 'railties/lib/generators/rails/observer/observer_generator.rb')
-rw-r--r-- | railties/lib/generators/rails/observer/observer_generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/generators/rails/observer/observer_generator.rb b/railties/lib/generators/rails/observer/observer_generator.rb index e5e1be39dc..205ffc8064 100644 --- a/railties/lib/generators/rails/observer/observer_generator.rb +++ b/railties/lib/generators/rails/observer/observer_generator.rb @@ -9,7 +9,7 @@ module Rails template 'observer.rb', File.join('app/models', class_path, "#{file_name}_observer.rb") end - add_and_invoke_test_framework_option! + invoke_for :test_framework end end end |