Sha256: 10d6516551571e1455945410e10617821bb368e6cf8c2384d97054dbca9e6a03

Contents?: true

Size: 480 Bytes

Versions: 2

Compression:

Stored size: 480 Bytes

Contents

#          Copyright (c) 2006 Michael Fellinger m.fellinger@gmail.com
# All files in this distribution are subject to the terms of the Ruby license.

require 'spec/spec_helper'

testcase_requires 'tidy', 'ramaze/tool/tidy'

context "testing tidy" do
  specify "tidy some simple html" do
    Ramaze::Tool::Tidy.tidy("<html></html>").should =~ %r{<html>\s+<head>\s+<meta name="generator" content="HTML Tidy (.*?)" />\s+<title></title>\s+</head>\s+<body></body>\s+</html>}
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ramaze-0.0.8 spec/tc_tidy.rb
ramaze-0.0.9 spec/tc_tidy.rb