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/test/controller/flash_test.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/test/controller/flash_test.rb')
-rw-r--r-- | actionpack/test/controller/flash_test.rb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/actionpack/test/controller/flash_test.rb b/actionpack/test/controller/flash_test.rb index e562531bf3..d8a892811e 100644 --- a/actionpack/test/controller/flash_test.rb +++ b/actionpack/test/controller/flash_test.rb @@ -1,6 +1,6 @@ require 'abstract_unit' -class FlashTest < Test::Unit::TestCase +class FlashTest < ActionController::TestCase class TestController < ActionController::Base def set_flash flash["that"] = "hello" @@ -73,11 +73,7 @@ class FlashTest < Test::Unit::TestCase end end - def setup - @request = ActionController::TestRequest.new - @response = ActionController::TestResponse.new - @controller = TestController.new - end + tests TestController def test_flash get :set_flash |