aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorGaurish Sharma <contact@gaurishsharma.com>2014-04-20 03:23:01 +0530
committerGaurish Sharma <contact@gaurishsharma.com>2014-04-20 03:23:01 +0530
commit9b1c077c91f09b64b8105f31fdf5240cd12c2e16 (patch)
tree7e99109edca45b560d5bdb608a335e805d97ad79 /actionpack/lib
parent0fd301aaf7e0f028fe8ea1c4b896191489d1fc0a (diff)
downloadrails-9b1c077c91f09b64b8105f31fdf5240cd12c2e16.tar.gz
rails-9b1c077c91f09b64b8105f31fdf5240cd12c2e16.tar.bz2
rails-9b1c077c91f09b64b8105f31fdf5240cd12c2e16.zip
update doc, assert_template also accepts false
[ci skip]
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_controller/test_case.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/test_case.rb b/actionpack/lib/action_controller/test_case.rb
index caaebc537a..b904dedccd 100644
--- a/actionpack/lib/action_controller/test_case.rb
+++ b/actionpack/lib/action_controller/test_case.rb
@@ -170,7 +170,7 @@ module ActionController
"Expected no partials to be rendered"
end
else
- raise ArgumentError, "assert_template only accepts a String, Symbol, Hash, Regexp, or nil"
+ raise ArgumentError, "assert_template only accepts a String, Symbol, Hash, Regexp, nil or false"
end
end
end