Sha256: 5b9a5557a4b2a042444b28b5b2a72a1325766e19c93d52667b68a70bc4f2a90f

Contents?: true

Size: 442 Bytes

Versions: 1

Compression:

Stored size: 442 Bytes

Contents

module MarkupValidity
  module TestHelper
    def valid_document
      <<-eoxhtml
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>hello world</title>
  </head>
  <body>
  </body>
</html>
      eoxhtml
    end

    def invalid_document
      <<-eoxhtml
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
  </head>
  <body>
    <p>
      <p>
        Hello
      </p>
    </p>
  </body>
</html>
      eoxhtml
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
markup_validity-1.0.0 test/helper.rb