Use redgreen when running rails integraton tests if available

This commit is contained in:
Bryan Helmkamp 2009-01-25 19:48:02 -05:00
parent 0039bf4d4b
commit 238bfb469e
1 changed files with 5 additions and 0 deletions

View File

@ -2,6 +2,11 @@ ENV["RAILS_ENV"] = "test"
require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
require 'test_help'
begin
require "redgreen"
rescue MissingSourceFile
end
require File.dirname(__FILE__) + "/../../../../lib/webrat"
Webrat.configure do |config|