Permalink
Browse files

Fix assert_no_tag

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2876 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 0c512ca commit 9d17e7cce46f7758abab6ac158f8c10b0987d0e2 @dhh dhh committed Nov 4, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/assertions.rb
@@ -267,7 +267,7 @@ def assert_tag(*opts)
# Identical to #assert_tag, but asserts that a matching tag does _not_
# exist. (See #assert_tag for a full discussion of the syntax.)
- def assert_no_tag(opts)
+ def assert_no_tag(*opts)
clean_backtrace do
opts = opts.size > 1 ? opts.last.merge({ :tag => opts.first.to_s }) : opts.first
tag = find_tag(opts)

0 comments on commit 9d17e7c

Please sign in to comment.