Could just use: `assert body.include?("</script></body>")`