lib/generators/observer/observer_generator.rb in generator-spec-0.6.6 vs lib/generators/observer/observer_generator.rb in generator-spec-0.7.0
- old
+ new
@@ -1,6 +1,6 @@
class ObserverGenerator < Rails::Generators::NamedBase
- include Rails::Assist::Generators::BasicHelper
+ include Rails3::Assist::Generators::BasicHelper
desc "Adds method 'observe_me' to a Observer"
def self.source_root
@source_root ||= File.expand_path("../templates", __FILE__)