Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
  • Loading branch information...
commit 7cc27b7b792a5a672348a37de64b08f5ce20f203 1 parent 0ffb6c1
@dhh dhh authored
View
3  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]
View
4 actionpack/lib/action_controller/test_process.rb
@@ -177,6 +177,10 @@ def []=(key, value)
@attributes[key] = value
end
+ def session_id
+ ""
+ end
+
def update() end
def close() end
def delete() @attributes = {} end
Please sign in to comment.
Something went wrong with that request. Please try again.