From df9efebd94cce5021e809591c1b69d8ab41385da Mon Sep 17 00:00:00 2001 From: Nicholas Seckar Date: Sun, 16 Oct 2005 00:14:51 +0000 Subject: Add line and file information to test process' get, post, etc methods git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2631 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_controller/test_process.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib/action_controller') diff --git a/actionpack/lib/action_controller/test_process.rb b/actionpack/lib/action_controller/test_process.rb index 40d46661d8..5c9a198582 100644 --- a/actionpack/lib/action_controller/test_process.rb +++ b/actionpack/lib/action_controller/test_process.rb @@ -302,7 +302,7 @@ module Test # execute the request simulating a specific http method and set/volley the response %w( get post put delete head ).each do |method| - class_eval <<-EOV + class_eval <<-EOV, __FILE__, __LINE__ def #{method}(action, parameters = nil, session = nil, flash = nil) @request.env['REQUEST_METHOD'] = "#{method.upcase}" if @request process(action, parameters, session, flash) -- cgit v1.2.3