diff options
Diffstat (limited to 'actionpack/test/controller/flash_test.rb')
-rw-r--r-- | actionpack/test/controller/flash_test.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/actionpack/test/controller/flash_test.rb b/actionpack/test/controller/flash_test.rb index 3a6e828bc8..54a1444f97 100644 --- a/actionpack/test/controller/flash_test.rb +++ b/actionpack/test/controller/flash_test.rb @@ -4,32 +4,32 @@ class FlashTest < Test::Unit::TestCase class TestController < ActionController::Base def set_flash flash["that"] = "hello" - render_text "hello" + render :inline => "hello" end def set_flash_now flash.now["that"] = "hello" @flash_copy = {}.update flash - render_text "hello" + render :inline => "hello" end def attempt_to_use_flash_now @flash_copy = {}.update flash @flashy = flash["that"] - render_text "hello" + render :inline => "hello" end def use_flash @flash_copy = {}.update flash @flashy = flash["that"] - render_text "hello" + render :inline => "hello" end def use_flash_and_keep_it @flash_copy = {}.update flash @flashy = flash["that"] keep_flash - render_text "hello" + render :inline => "hello" end def rescue_action(e) @@ -91,4 +91,4 @@ class FlashTest < Test::Unit::TestCase def process_request TestController.process(@request, @response) end -end
\ No newline at end of file +end |