diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2004-12-06 18:51:04 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2004-12-06 18:51:04 +0000 |
commit | 7cc27b7b792a5a672348a37de64b08f5ce20f203 (patch) | |
tree | da5c0330649108e353d0abda2132598591c9b2af /actionpack/lib/action_controller | |
parent | 0ffb6c16258b5c39a7417f4563edf0fc7542c9ae (diff) | |
download | rails-7cc27b7b792a5a672348a37de64b08f5ce20f203.tar.gz rails-7cc27b7b792a5a672348a37de64b08f5ce20f203.tar.bz2 rails-7cc27b7b792a5a672348a37de64b08f5ce20f203.zip |
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
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r-- | actionpack/lib/action_controller/test_process.rb | 4 |
1 files changed, 4 insertions, 0 deletions
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 |