diff options
author | Alan Wu <[email protected]> | 2023-09-12 16:25:29 -0400 |
---|---|---|
committer | Alan Wu <[email protected]> | 2023-09-12 16:33:18 -0400 |
commit | 11c32e33ebe00e746579edc3f1358fdb4fe8cf85 (patch) | |
tree | 619bc9bb3c8ac6c50d6676d15c320d5090bf502b /spec/ruby/library | |
parent | 5edabd1cd57ea9a5c9fa9b782aa8df3da8781040 (diff) |
Adjust CGI spec to pass when ran in isolation
It failed with `NameError` because `Html3` is defined in the file that
`CGI::HtmlExtension` autoloads.
Diffstat (limited to 'spec/ruby/library')
-rw-r--r-- | spec/ruby/library/cgi/initialize_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/cgi/initialize_spec.rb b/spec/ruby/library/cgi/initialize_spec.rb index f794f157f0..61bc971d49 100644 --- a/spec/ruby/library/cgi/initialize_spec.rb +++ b/spec/ruby/library/cgi/initialize_spec.rb @@ -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) |