зеркало из https://github.com/github/ruby.git
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:
Родитель
5edabd1cd5
Коммит
11c32e33eb
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче