mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fixed that cookies shouldn't be frozen in TestRequest #571 [Eric Hodel]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@520 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
431e21cb45
commit
c89c2bcbfb
2 changed files with 7 additions and 6 deletions
|
@ -1,3 +1,8 @@
|
|||
*SVN*
|
||||
|
||||
* Fixed that cookies shouldn't be frozen in TestRequest #571 [Eric Hodel]
|
||||
|
||||
|
||||
*1.4.0* (January 25th, 2005)
|
||||
|
||||
* Fixed problems with ActiveRecordStore under the development environment in Rails
|
||||
|
|
|
@ -30,7 +30,7 @@ module ActionController #:nodoc:
|
|||
end
|
||||
|
||||
class TestRequest < AbstractRequest #:nodoc:
|
||||
attr_writer :cookies
|
||||
attr_accessor :cookies
|
||||
attr_accessor :query_parameters, :request_parameters, :session, :env
|
||||
attr_accessor :host, :path, :request_uri, :remote_addr
|
||||
|
||||
|
@ -49,10 +49,6 @@ module ActionController #:nodoc:
|
|||
@session = {}
|
||||
end
|
||||
|
||||
def cookies
|
||||
@cookies.freeze
|
||||
end
|
||||
|
||||
def port=(number)
|
||||
@env["SERVER_PORT"] = number.to_i
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue