aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/flash_test.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-01-07 13:23:10 -0800
committerYehuda Katz <wycats@gmail.com>2009-01-09 00:14:27 -0800
commitcf09fa74f7a9d9895b9a2d0fc475864d7e4bb56e (patch)
tree33244e36075904c8bb4382399475a03e88cfc5f7 /actionpack/test/controller/flash_test.rb
parentc2d23affad0ed4542e3906c334a7b27b07fc695c (diff)
downloadrails-cf09fa74f7a9d9895b9a2d0fc475864d7e4bb56e.tar.gz
rails-cf09fa74f7a9d9895b9a2d0fc475864d7e4bb56e.tar.bz2
rails-cf09fa74f7a9d9895b9a2d0fc475864d7e4bb56e.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.rb8
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