webrat/init.rb
2008-10-14 12:17:52 -04:00

4 lines
115 B
Ruby

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