aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/assertions/response_assertions.rb
diff options
context:
space:
mode:
authorMarcel Molina <marcel@vernix.org>2007-11-06 23:33:40 +0000
committerMarcel Molina <marcel@vernix.org>2007-11-06 23:33:40 +0000
commit94502623fb8354ba0c88b9d1bc94bf940e0d5018 (patch)
tree3feef6b8342bac8a8f8ef3db5f051e536bce8a4f /actionpack/lib/action_controller/assertions/response_assertions.rb
parent19d4c212cd35be37d67eb20bb4152356df96681b (diff)
downloadrails-94502623fb8354ba0c88b9d1bc94bf940e0d5018.tar.gz
rails-94502623fb8354ba0c88b9d1bc94bf940e0d5018.tar.bz2
rails-94502623fb8354ba0c88b9d1bc94bf940e0d5018.zip
Standardize on using hyphens rather than colons to separate option names from their explanation in documentation. Replace + with tt tags. Closes #8732. [ryanb]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8106 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller/assertions/response_assertions.rb')
-rw-r--r--actionpack/lib/action_controller/assertions/response_assertions.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/lib/action_controller/assertions/response_assertions.rb b/actionpack/lib/action_controller/assertions/response_assertions.rb
index 09fb4f9a1b..29eb2b033a 100644
--- a/actionpack/lib/action_controller/assertions/response_assertions.rb
+++ b/actionpack/lib/action_controller/assertions/response_assertions.rb
@@ -6,10 +6,10 @@ module ActionController
module ResponseAssertions
# Asserts that the response is one of the following types:
#
- # * <tt>:success</tt>: Status code was 200
- # * <tt>:redirect</tt>: Status code was in the 300-399 range
- # * <tt>:missing</tt>: Status code was 404
- # * <tt>:error</tt>: Status code was in the 500-599 range
+ # * <tt>:success</tt> - Status code was 200
+ # * <tt>:redirect</tt> - Status code was in the 300-399 range
+ # * <tt>:missing</tt> - Status code was 404
+ # * <tt>:error</tt> - Status code was in the 500-599 range
#
# You can also pass an explicit status number like assert_response(501)
# or its symbolic equivalent assert_response(:not_implemented).