Adjust CGI spec to pass when ran in isolation

It failed with `NameError` because `Html3` is defined in the file that
`CGI::HtmlExtension` autoloads.
This commit is contained in:
Alan Wu 2023-09-12 16:25:29 -04:00
Родитель 5edabd1cd5
Коммит 11c32e33eb
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -29,8 +29,8 @@ describe "CGI#initialize when passed no arguments" do
it "does not extend self with any of the other HTML modules" do
@cgi.send(:initialize)
@cgi.should_not be_kind_of(CGI::Html3)
@cgi.should_not be_kind_of(CGI::HtmlExtension)
@cgi.should_not be_kind_of(CGI::Html3)
@cgi.should_not be_kind_of(CGI::Html4)
@cgi.should_not be_kind_of(CGI::Html4Tr)
@cgi.should_not be_kind_of(CGI::Html4Fr)