Browse files

update doc, assert_template also accepts false

[ci skip]
  • Loading branch information...
1 parent 0fd301a commit 9b1c077c91f09b64b8105f31fdf5240cd12c2e16 @gaurish gaurish committed Apr 20, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/test_case.rb
View
2 actionpack/lib/action_controller/test_case.rb
@@ -170,7 +170,7 @@ def assert_template(options = {}, message = nil)
"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

0 comments on commit 9b1c077

Please sign in to comment.