diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2004-12-07 11:10:46 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2004-12-07 11:10:46 +0000 |
commit | a544d7aa372a080b77940571a3a169496045670e (patch) | |
tree | 1d4bfe7d3c28d896fe1c879fdc12c661e14cc8aa /actionpack/CHANGELOG | |
parent | 94921293dbdbdf7fe49023fe7ed8908e05d3615f (diff) | |
download | rails-a544d7aa372a080b77940571a3a169496045670e.tar.gz rails-a544d7aa372a080b77940571a3a169496045670e.tar.bz2 rails-a544d7aa372a080b77940571a3a169496045670e.zip |
Added all the HTTP methods as alternatives to the generic "process" for functional testing #276 [Tobias Luetke]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@58 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/CHANGELOG')
-rw-r--r-- | actionpack/CHANGELOG | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG index 4d39e25d53..793c93adb8 100644 --- a/actionpack/CHANGELOG +++ b/actionpack/CHANGELOG @@ -1,5 +1,18 @@ *SVN* +* Added all the HTTP methods as alternatives to the generic "process" for functional testing #276 [Tobias Luetke]. Examples: + + # Calls Controller#miletone with a GET request + process :milestone + + # Calls Controller#miletone with a POST request that has parameters + post :milestone, { "name" => "David" } + + # Calls Controller#milestone with a HEAD request that has both parameters and session data + head :milestone, { "id" => 1 }, { "user_id" => 23 } + + This is especially useful for testing idiomatic REST web services. + * Added proper handling of HEAD requests, so that content isn't returned (Request#head? added as well) #277 [Eric Hodel] * Added indifference to whether @headers["Content-Type"], @headers["Content-type"], or @headers["content-type"] is used. |