summaryrefslogtreecommitdiff
path: root/spec/ruby/library/net/http
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/net/http')
-rw-r--r--spec/ruby/library/net/http/http/proxy_class_spec.rb2
-rw-r--r--spec/ruby/library/net/http/httpresponse/read_body_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/library/net/http/http/proxy_class_spec.rb b/spec/ruby/library/net/http/http/proxy_class_spec.rb
index 2aab804ed3..2d32a39f01 100644
--- a/spec/ruby/library/net/http/http/proxy_class_spec.rb
+++ b/spec/ruby/library/net/http/http/proxy_class_spec.rb
@@ -2,7 +2,7 @@ require_relative '../../../../spec_helper'
require 'net/http'
describe "Net::HTTP.proxy_class?" do
- it "returns true if sels is a class created with Net::HTTP.Proxy" do
+ it "returns true if self is a class created with Net::HTTP.Proxy" do
Net::HTTP.proxy_class?.should be_false
Net::HTTP.Proxy("localhost").proxy_class?.should be_true
end
diff --git a/spec/ruby/library/net/http/httpresponse/read_body_spec.rb b/spec/ruby/library/net/http/httpresponse/read_body_spec.rb
index 500155eb5b..a050eca594 100644
--- a/spec/ruby/library/net/http/httpresponse/read_body_spec.rb
+++ b/spec/ruby/library/net/http/httpresponse/read_body_spec.rb
@@ -76,7 +76,7 @@ describe "Net::HTTPResponse#read_body" do
end
describe "when passed buffer and block" do
- it "rauses an ArgumentError" do
+ it "raises an ArgumentError" do
@res.reading_body(@socket, true) do
lambda { @res.read_body("") {} }.should raise_error(ArgumentError)
end