From 4abb8c9d5bccca0e3c092031d87d000a21f57723 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Fri, 29 May 2015 17:41:42 +0800 Subject: Remove unused code. Code was moved into the `assign` method. --- actionpack/lib/action_controller/test_case.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/actionpack/lib/action_controller/test_case.rb b/actionpack/lib/action_controller/test_case.rb index b29c5b23fc..bd88b20cea 100644 --- a/actionpack/lib/action_controller/test_case.rb +++ b/actionpack/lib/action_controller/test_case.rb @@ -492,8 +492,6 @@ module ActionController end @response.prepare! - @assigns = @controller.respond_to?(:view_assigns) ? @controller.view_assigns : {} - if flash_value = @request.flash.to_session_value @request.session['flash'] = flash_value else -- cgit v1.2.3