Sha256: 68b32bf36a1deada863f1095d5003259b065460a5358383ef85c6a55975f258e

Contents?: true

Size: 471 Bytes

Versions: 5

Compression:

Stored size: 471 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/helper'

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

describe "testing tidy" do
  it "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

5 entries across 5 versions & 1 rubygems

Version Path
ramaze-0.1.1 spec/ramaze/tidy.rb
ramaze-0.1.3 spec/ramaze/tidy.rb
ramaze-0.1.4 spec/ramaze/tidy.rb
ramaze-0.1.2 spec/ramaze/tidy.rb
ramaze-0.1.0 spec/ramaze/tidy.rb