diff --git a/init.rb b/init.rb index e19fb6a..d4f35a9 100644 --- a/init.rb +++ b/init.rb @@ -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