aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides
diff options
context:
space:
mode:
authorDavid Aaron Fendley <tricon@me.com>2011-03-09 18:06:50 -0600
committerDavid Aaron Fendley <tricon@me.com>2011-03-09 18:06:50 -0600
commit6fba542f4487bd825203ea5b14bf038fe722709b (patch)
treecb1c1a221e596618758799dbe7b52eca74621cf5 /railties/guides
parentf65023cbda53c9920d4a0ac3f31bc4de624805cf (diff)
downloadrails-6fba542f4487bd825203ea5b14bf038fe722709b.tar.gz
rails-6fba542f4487bd825203ea5b14bf038fe722709b.tar.bz2
rails-6fba542f4487bd825203ea5b14bf038fe722709b.zip
Added note re: functional tests and HTTP methods.
Diffstat (limited to 'railties/guides')
-rw-r--r--railties/guides/source/testing.textile2
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/guides/source/testing.textile b/railties/guides/source/testing.textile
index a75cedbdc1..f4111269ba 100644
--- a/railties/guides/source/testing.textile
+++ b/railties/guides/source/testing.textile
@@ -500,6 +500,8 @@ If you're familiar with the HTTP protocol, you'll know that +get+ is a type of r
All of request types are methods that you can use, however, you'll probably end up using the first two more often than the others.
+NOTE: Functional tests do not verify whether the specified request type should be be accepted by the action. Request types in this context exist to make your tests more descriptive.
+
h4. The Four Hashes of the Apocalypse
After a request has been made by using one of the 5 methods (+get+, +post+, etc.) and processed, you will have 4 Hash objects ready for use: