diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-01-07 13:23:10 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-01-07 14:49:05 -0800 |
commit | 35fa00731329120fa1d0c2a9d66af6813203195a (patch) | |
tree | 32457ad68703af36d8fa2ee74bb12232428ebbf2 /actionpack/lib/action_controller/test_case.rb | |
parent | 0f9e65b71f9af30dac17689e81f4353e9fcac5b6 (diff) | |
download | rails-35fa00731329120fa1d0c2a9d66af6813203195a.tar.gz rails-35fa00731329120fa1d0c2a9d66af6813203195a.tar.bz2 rails-35fa00731329120fa1d0c2a9d66af6813203195a.zip |
Include process methods in ActionController::TestCase only. No need to alias_method_chain :process either.
Diffstat (limited to 'actionpack/lib/action_controller/test_case.rb')
-rw-r--r-- | actionpack/lib/action_controller/test_case.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/test_case.rb b/actionpack/lib/action_controller/test_case.rb index 7ed1a3e160..93a0be4127 100644 --- a/actionpack/lib/action_controller/test_case.rb +++ b/actionpack/lib/action_controller/test_case.rb @@ -1,4 +1,5 @@ require 'active_support/test_case' +require 'action_controller/test_process' module ActionController # Superclass for ActionController functional tests. Functional tests allow you to @@ -102,6 +103,8 @@ module ActionController # # assert_redirected_to page_url(:title => 'foo') class TestCase < ActiveSupport::TestCase + include TestProcess + module Assertions %w(response selector tag dom routing model).each do |kind| include ActionController::Assertions.const_get("#{kind.camelize}Assertions") |