# File lib/action_controller/assertions.rb, line 251 def assert_tag(opts) clean_backtrace do tag = find_tag(opts) assert tag, "expected tag, but no tag found matching #{opts.inspect} in:\n#{@response.body.inspect}" end end