spec/support/initializer_stubs.rb in adhearsion-1.2.3 vs spec/support/initializer_stubs.rb in adhearsion-1.2.4
- old
+ new
@@ -1,7 +1,7 @@
module InitializerStubs
DEFAULT_AHNRC_DATA_STRUCTURE = YAML.load_file(
- File.dirname(__FILE__) + "/../../app_generators/ahn/templates/.ahnrc"
+ File.dirname(__FILE__) + "/../../lib/adhearsion/generators/app/templates/.ahnrc"
) unless defined? DEFAULT_AHNRC_DATA_STRUCTURE
UNWANTED_BEHAVIOR = {
Adhearsion::Initializer => [:initialize_log_file, :switch_to_root_directory, :daemonize!, :load],
Adhearsion::Initializer.metaclass => { :get_rules_from => DEFAULT_AHNRC_DATA_STRUCTURE },