diff options
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/CHANGELOG | 5 | ||||
-rw-r--r-- | actionpack/lib/action_controller/test_process.rb | 8 |
2 files changed, 7 insertions, 6 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG index a4ca2ec3fc..ba6c7fa8bc 100644 --- a/actionpack/CHANGELOG +++ b/actionpack/CHANGELOG @@ -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 diff --git a/actionpack/lib/action_controller/test_process.rb b/actionpack/lib/action_controller/test_process.rb index 2ab955b677..1fe38136fe 100644 --- a/actionpack/lib/action_controller/test_process.rb +++ b/actionpack/lib/action_controller/test_process.rb @@ -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 @@ -257,4 +253,4 @@ module Test end end end -end
\ No newline at end of file +end |