test/helper.rb in jumpstart-0.1.19 vs test/helper.rb in jumpstart-0.2.0
- old
+ new
@@ -7,9 +7,17 @@
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'jumpstart'
class Test::Unit::TestCase
+ def reset_global_defaults
+ JumpStart.module_eval do
+ @jumpstart_setup_yaml = YAML.load_file("#{JumpStart::CONFIG_PATH}/jumpstart_setup.yml")
+ @jumpstart_version_yaml = YAML.load_file("#{JumpStart::CONFIG_PATH}/jumpstart_version.yml")
+ @templates_path = nil
+ end
+ end
+
end
module JumpStart
class Base
\ No newline at end of file