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:
parent
5edabd1cd5
commit
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user