require_relative '../../../spec_helper' require 'cgi' require_relative 'fixtures/common' describe "CGI::HtmlExtension#doctype" do describe "when each HTML generation" do it "returns the doctype declaration for HTML3" do expect = '' CGISpecs.cgi_new("html3").doctype.should == expect end it "returns the doctype declaration for HTML4" do expect = '' CGISpecs.cgi_new("html4").doctype.should == expect end it "returns the doctype declaration for the Frameset version of HTML4" do expect = '' CGISpecs.cgi_new("html4Fr").doctype.should == expect end it "returns the doctype declaration for the Transitional version of HTML4" do expect = '' CGISpecs.cgi_new("html4Tr").doctype.should == expect end end end