Sha256: 3e09e538acf763440111ea68966515686adfba3fd69be2ff6adc1421bde582a6

Contents?: true

Size: 555 Bytes

Versions: 20

Compression:

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

20 entries across 20 versions & 6 rubygems

Version Path
emipair-webrat-0.0.1 spec/integration/rails/test/test_helper.rb
hardbap-webrat-0.5.1 spec/integration/rails/test/test_helper.rb
hardbap-webrat-0.5.2 spec/integration/rails/test/test_helper.rb
winton-sum-0.1.0 vendor/webrat/spec/integration/rails/test/test_helper.rb
winton-sum-0.1.1 vendor/webrat/spec/integration/rails/test/test_helper.rb
sum-0.1.1 vendor/webrat/spec/integration/rails/test/test_helper.rb
webrat-0.4.5 spec/integration/rails/test/test_helper.rb
webrat-0.5.0 spec/integration/rails/test/test_helper.rb
metry-2.0.4 vendor/webrat/spec/integration/rails/test/test_helper.rb
metry-2.0.5 vendor/webrat/spec/integration/rails/test/test_helper.rb
metry-2.1.0 vendor/webrat/spec/integration/rails/test/test_helper.rb
metry-2.1.1 vendor/webrat/spec/integration/rails/test/test_helper.rb
metry-2.0.0 vendor/webrat/spec/integration/rails/test/test_helper.rb
metry-2.0.1 vendor/webrat/spec/integration/rails/test/test_helper.rb
metry-2.0.2 vendor/webrat/spec/integration/rails/test/test_helper.rb
metry-2.0.3 vendor/webrat/spec/integration/rails/test/test_helper.rb
metry-1.0.0 vendor/webrat/spec/integration/rails/test/test_helper.rb
metry-1.0.1 vendor/webrat/spec/integration/rails/test/test_helper.rb
metry-1.1.0 vendor/webrat/spec/integration/rails/test/test_helper.rb
metry-1.2.0 vendor/webrat/spec/integration/rails/test/test_helper.rb