From 7cc27b7b792a5a672348a37de64b08f5ce20f203 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 6 Dec 2004 18:51:04 +0000 Subject: Added TestSession#session_id that returns an empty string to make it easier to functional test applications that doesn't use cookie-based sessions #275 [jcf] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@52 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_controller/test_process.rb | 4 ++++ 1 file changed, 4 insertions(+) (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 969f2573c5..41386ee7d0 100644 --- a/actionpack/lib/action_controller/test_process.rb +++ b/actionpack/lib/action_controller/test_process.rb @@ -177,6 +177,10 @@ end @attributes[key] = value end + def session_id + "" + end + def update() end def close() end def delete() @attributes = {} end -- cgit v1.2.3