Multiple test environments support

This commit is contained in:
Nando 2008-11-11 23:38:17 +01:00 committed by Bryan Helmkamp
parent b3ad31ee95
commit ad89560707
1 changed files with 1 additions and 1 deletions

View File

@ -1,3 +1,3 @@
if RAILS_ENV == "test" || RAILS_ENV == "selenium"
unless (RAILS_ENV =~ /^test/).nil? and RAILS_ENV != "selenium"
require File.join(File.dirname(__FILE__), "lib", "webrat")
end