bin/qed in qed-1.0.0 vs bin/qed in qed-1.1.0

- old
+ new

@@ -62,22 +62,22 @@ # end #end # TODO: Better way to load helpers? # - def load_helpers - dirs = spec_files.map{ |file| File.join(Dir.pwd, File.dirname(file)) } - dirs = dirs.select{ |dir| File.directory?(dir) } - dirs.each do |dir| - while dir != '/' do - helper = File.join(dir, 'qed_helper.rb') - load(helper) if File.exist?(helper) - break if Dir.pwd == dir - dir = File.dirname(dir) - end - end - end + #def load_helpers + # dirs = spec_files.map{ |file| File.join(Dir.pwd, File.dirname(file)) } + # dirs = dirs.select{ |dir| File.directory?(dir) } + # dirs.each do |dir| + # while dir != '/' do + # helper = File.join(dir, 'qed_helper.rb') + # load(helper) if File.exist?(helper) + # break if Dir.pwd == dir + # dir = File.dirname(dir) + # end + # end + #end # def specs spec_files end @@ -118,10 +118,10 @@ # def execute parse_options #load_rc - load_helpers + #load_helpers case reporter when :script specs.each do |spec| puts spec.to_script end