diff options
Diffstat (limited to 'spec/ruby/library/net/http/HTTPServerException_spec.rb')
-rw-r--r-- | spec/ruby/library/net/http/HTTPServerException_spec.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/spec/ruby/library/net/http/HTTPServerException_spec.rb b/spec/ruby/library/net/http/HTTPServerException_spec.rb new file mode 100644 index 0000000000..35566ab0c5 --- /dev/null +++ b/spec/ruby/library/net/http/HTTPServerException_spec.rb @@ -0,0 +1,12 @@ +require File.expand_path('../../../../spec_helper', __FILE__) +require 'net/http' + +describe "Net::HTTPServerException" do + it "is a subclass of Net::ProtoServerError" do + Net::HTTPServerException.should < Net::ProtoServerError + end + + it "includes the Net::HTTPExceptions module" do + Net::HTTPServerException.should < Net::HTTPExceptions + end +end |