webrat/lib/webrat.rb

14 lines
342 B
Ruby
Raw Normal View History

2008-04-04 16:12:46 +00:00
module Webrat
VERSION = '0.2.2'
2008-04-17 10:52:42 +00:00
def self.root
defined?(RAILS_ROOT) ? RAILS_ROOT : Merb.root
end
2008-04-05 16:49:18 +00:00
end
2008-05-12 04:23:37 +00:00
require "rubygems"
require "active_support"
require File.dirname(__FILE__) + "/webrat/core"
2008-05-12 04:23:37 +00:00
require File.dirname(__FILE__) + "/webrat/rails" if defined?(RAILS_ENV)
require File.dirname(__FILE__) + "/webrat/merb" if defined?(Merb)