test/helper.rb in padrino-gen-0.6.3 vs test/helper.rb in padrino-gen-0.6.7

- old
+ new

@@ -7,10 +7,10 @@ require 'thor' # We try to load the vendored padrino-core if exist %w(core).each do |gem| if File.exist?(File.dirname(__FILE__) + "/../../padrino-#{gem}/lib") - $LOAD_PATH.unshift File.dirname(__FILE__) + "/../../padrino-#{gem}/lib" + $:.unshift File.dirname(__FILE__) + "/../../padrino-#{gem}/lib" end end require 'padrino-gen' \ No newline at end of file