From 1b4edd173dc2cbe53e48777d3e17be3164513539 Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Thu, 19 Jan 2012 18:25:52 -0200 Subject: Use performed? instead of checking for response_body * Check for performed? instead of response_body * Change performed? to return a boolean * Refactor AC::Metal#response_body= to reuse variable --- actionpack/test/controller/force_ssl_test.rb | 3 --- 1 file changed, 3 deletions(-) (limited to 'actionpack/test/controller/force_ssl_test.rb') diff --git a/actionpack/test/controller/force_ssl_test.rb b/actionpack/test/controller/force_ssl_test.rb index 125012631e..3ea3c06ac4 100644 --- a/actionpack/test/controller/force_ssl_test.rb +++ b/actionpack/test/controller/force_ssl_test.rb @@ -39,10 +39,8 @@ class ForceSSLFlash < ForceSSLController @flashy = flash["that"] render :inline => "hello" end - end - class ForceSSLControllerLevelTest < ActionController::TestCase tests ForceSSLControllerLevel @@ -135,5 +133,4 @@ class ForceSSLFlashTest < ActionController::TestCase assert_equal "hello", assigns["flash_copy"]["that"] assert_equal "hello", assigns["flashy"] end - end -- cgit v1.2.3