# File lib/rails/dom/testing/assertions/tag_assertions.rb, line 99
          def assert_tag(*opts)
            ActiveSupport::Deprecation.warn("assert_tag is deprecated and will be removed at Rails 5. Use assert_select to get the same feature.")

            opts = opts.size > 1 ? opts.last.merge({ tag: opts.first.to_s }) : opts.first
            tag = _find_tag(opts)

            assert tag, "expected tag, but no tag found matching #{opts.inspect} in:\n#{@response.body.inspect}"
          end