webrat/init.rb
2008-11-26 14:24:58 -05:00

4 lines
82 B
Ruby

if (RAILS_ENV =~ /^test/) || RAILS_ENV == "selenium"
require "webrat/rails"
end