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 | |
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')
-rw-r--r-- | actionpack/CHANGELOG | 3 | ||||
-rw-r--r-- | actionpack/lib/action_controller/test_process.rb | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG index 4f32e39822..6632cdeff1 100644 --- a/actionpack/CHANGELOG +++ b/actionpack/CHANGELOG @@ -1,5 +1,8 @@ *SVN* +* Added TestSession#session_id that returns an empty string to make it easier to functional test applications that doesn't use + cookie-based sessions [jcf] + * Fixed that cached template loading would still check the file system to see if the file existed #258 [Andreas Schwarz] * Added options to tailor header tag, div id, and div class on ActiveRecordHelper#error_messages_for [josh] 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 |