webrat/init.rb
2008-11-13 22:20:39 -05:00

4 lines
118 B
Ruby

if (RAILS_ENV =~ /^test/) || RAILS_ENV == "selenium"
require File.join(File.dirname(__FILE__), "lib", "webrat")
end