Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 2876

Show
Ignore:
Timestamp:
11/04/05 21:37:34 (3 years ago)
Author:
david
Message:

Fix assert_no_tag

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/lib/action_controller/assertions.rb

    r2873 r2876  
    268268      # Identical to #assert_tag, but asserts that a matching tag does _not_ 
    269269      # exist. (See #assert_tag for a full discussion of the syntax.) 
    270       def assert_no_tag(opts) 
     270      def assert_no_tag(*opts) 
    271271        clean_backtrace do 
    272272          opts = opts.size > 1 ? opts.last.merge({ :tag => opts.first.to_s }) : opts.first