Sha256: 0d6b09c2ece41172af8dc0640082a15823a0234f0b3ca19c25b0b25a94ff67f1
Contents?: true
Size: 604 Bytes
Versions: 14
Compression:
Stored size: 604 Bytes
Contents
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) # RAILS_ENV needs to be set to development to mount the error page debug view ENV['RAILS_ENV'] ||= 'development' require 'rails' require 'minitest/autorun' require 'minitest/pride' require 'action_controller/railtie' require 'action_view/railtie' require 'bundler/setup' Bundler.require require 'fake_app/rails_app' require 'capybara/rails' class ActionDispatch::IntegrationTest include Capybara::DSL def teardown Capybara.reset_sessions! Capybara.use_default_driver end end
Version data entries
14 entries across 14 versions & 1 rubygems