Sha256: 175b586dc03fc8230009fd93a5c7887692ed57d69a26f06cefe1105d0e6063b6

Contents?: true

Size: 546 Bytes

Versions: 15

Compression:

Stored size: 546 Bytes

Contents

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|
  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

15 entries across 15 versions & 2 rubygems

Version Path
adva-0.3.2 test/webrat/spec/integration/rails/test/test_helper.rb
adva-0.3.1 test/webrat/spec/integration/rails/test/test_helper.rb
adva-0.3.0 test/webrat/spec/integration/rails/test/test_helper.rb
adva-0.2.4 test/webrat/spec/integration/rails/test/test_helper.rb
adva-0.2.3 test/webrat/spec/integration/rails/test/test_helper.rb
adva-0.2.2 test/webrat/spec/integration/rails/test/test_helper.rb
adva-0.2.1 test/webrat/spec/integration/rails/test/test_helper.rb
adva-0.2.0 test/webrat/spec/integration/rails/test/test_helper.rb
adva-0.1.4 test/webrat/spec/integration/rails/test/test_helper.rb
adva-0.1.3 test/webrat/spec/integration/rails/test/test_helper.rb
adva-0.1.2 test/webrat/spec/integration/rails/test/test_helper.rb
adva-0.1.1 test/webrat/spec/integration/rails/test/test_helper.rb
adva-0.1.0 test/webrat/spec/integration/rails/test/test_helper.rb
adva-0.0.1 test/webrat/spec/integration/rails/test/test_helper.rb
integrity-0.1.9 vendor/webrat/spec/integration/rails/test/test_helper.rb