Use redgreen when running rails integraton tests if available
This commit is contained in:
parent
0039bf4d4b
commit
238bfb469e
@ -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|
|
||||
|
Loading…
Reference in New Issue
Block a user