Sha256: 3065f2eabd1c85cb343daf3cb9e79301861eeca1fb2c2bbc346272fff6971c1e

Contents?: true

Size: 618 Bytes

Versions: 24

Compression:

Stored size: 618 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
  config.selenium_browser_key = '*safari'
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

24 entries across 24 versions & 12 rubygems

Version Path
radiant-1.0.0 ruby-debug/ruby/1.8/gems/webrat-0.7.3/spec/integration/rails/test/test_helper.rb
indirect-webrat-0.7.5 spec/integration/rails/test/test_helper.rb
indirect-webrat-0.7.4 spec/integration/rails/test/test_helper.rb
webrat-0.7.3 spec/integration/rails/test/test_helper.rb
jbd-webrat-0.7.2.rails3 spec/integration/rails/test/test_helper.rb
webrat-0.7.2 spec/integration/rails/test/test_helper.rb
webrat-0.7.2.beta.2 spec/integration/rails/test/test_helper.rb
mutle-webrat-0.7.2.beta.1 spec/integration/rails/test/test_helper.rb
thoughtbot-webrat-0.7.2.pre spec/integration/rails/test/test_helper.rb
webrat-0.7.2.beta.1 spec/integration/rails/test/test_helper.rb
honkster-webrat-0.7.1.2 spec/integration/rails/test/test_helper.rb
honkster-webrat-0.7.1.1 spec/integration/rails/test/test_helper.rb
revo-webrat-0.7.0.1 spec/integration/rails/test/test_helper.rb
webrat-0.7.1 spec/integration/rails/test/test_helper.rb
davidtrogers-webrat-0.7.0 spec/integration/rails/test/test_helper.rb
revo-webrat-0.7.0 spec/integration/rails/test/test_helper.rb
revo-webrat-0.7.1.pre spec/integration/rails/test/test_helper.rb
webrat-0.7.0 spec/integration/rails/test/test_helper.rb
honkster-webrat-0.6.0.10 spec/integration/rails/test/test_helper.rb
honkster-webrat-0.6.0.9 spec/integration/rails/test/test_helper.rb