Changeset 2876
- Timestamp:
- 11/04/05 21:37:34 (3 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/actionpack/lib/action_controller/assertions.rb
r2873 r2876 268 268 # Identical to #assert_tag, but asserts that a matching tag does _not_ 269 269 # exist. (See #assert_tag for a full discussion of the syntax.) 270 def assert_no_tag( opts)270 def assert_no_tag(*opts) 271 271 clean_backtrace do 272 272 opts = opts.size > 1 ? opts.last.merge({ :tag => opts.first.to_s }) : opts.first