summaryrefslogtreecommitdiff
path: root/spec/ruby/library/net/http/httpresponse/read_body_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/net/http/httpresponse/read_body_spec.rb')
-rw-r--r--spec/ruby/library/net/http/httpresponse/read_body_spec.rb2
1 files changed, 1 insertions, 1 deletions
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 500155eb5be..a050eca5942 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