Sha256: 82e79a26200b6808ed8d9efb5a885f81575175ab214456eb5327e893769a23c9

Contents?: true

Size: 576 Bytes

Versions: 10

Compression:

Stored size: 576 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

10 entries across 10 versions & 8 rubygems

Version Path
diabolo-webrat-0.5.1 spec/integration/rails/test/test_helper.rb
dstrelau-webrat-0.5.1 spec/integration/rails/test/test_helper.rb
kbaum-webrat-0.5.1 spec/integration/rails/test/test_helper.rb
radar-webrat-0.5.1.1 spec/integration/rails/test/test_helper.rb
radar-webrat-0.5.1 spec/integration/rails/test/test_helper.rb
mkuklis-webrat-0.5.1 spec/integration/rails/test/test_helper.rb
emipair-webrat-0.5.3 spec/integration/rails/test/test_helper.rb
honkster-webrat-0.6.0 spec/integration/rails/test/test_helper.rb
webrat-0.5.3 spec/integration/rails/test/test_helper.rb
webrat-0.5.1 spec/integration/rails/test/test_helper.rb