Sha256: 961fef8be45e79ed3bef9309e4122993034990618027db660e104899e0b76019
Contents?: true
Size: 602 Bytes
Versions: 1
Compression:
Stored size: 602 Bytes
Contents
ENV["RAILS_ENV"] = "test" require File.expand_path(File.dirname(__FILE__) + "/../config/environment") require 'test_help' # begin # require "redgreen" # rescue MissingSourceFile # end $LOAD_PATH.unshift File.dirname(__FILE__) + "/../../../../lib" require "webrat" Webrat.configure do |config| config.mode = ENV['WEBRAT_INTEGRATION_MODE'].to_sym end ActionController::Base.class_eval do def perform_action perform_action_without_rescue end end Dispatcher.class_eval do def self.failsafe_response(output, status, exception = nil) raise exception end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mkuklis-webrat-0.6.rc1 | spec/integration/rails/test/test_helper.rb |