test/helper.rb in padrino-mailer-0.6.3 vs test/helper.rb in padrino-mailer-0.6.7
- old
+ new
@@ -6,10 +6,10 @@
require 'webrat'
# 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-mailer'
\ No newline at end of file