webrat/test/helper.rb
2008-04-04 14:19:14 +01:00

21 lines
467 B
Ruby

require "rubygems"
require "test/unit"
# gem install redgreen for colored test output
begin require "redgreen" unless ENV['TM_CURRENT_LINE']; rescue LoadError; end
require "mocha"
require "active_support"
silence_warnings do
require "action_controller"
require "action_controller/integration"
end
require File.expand_path(File.dirname(__FILE__) + "/../lib/webrat")
class ActionController::Integration::Session
def flunk(message)
raise message
end
end