summaryrefslogtreecommitdiff
path: root/spec/ruby/library/net/http/http/start_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/net/http/http/start_spec.rb')
-rw-r--r--spec/ruby/library/net/http/http/start_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/net/http/http/start_spec.rb b/spec/ruby/library/net/http/http/start_spec.rb
index e23f9183f7..a2768eed18 100644
--- a/spec/ruby/library/net/http/http/start_spec.rb
+++ b/spec/ruby/library/net/http/http/start_spec.rb
@@ -81,7 +81,7 @@ describe "Net::HTTP#start" do
describe "when self has already been started" do
it "raises an IOError" do
@http.start
- lambda { @http.start }.should raise_error(IOError)
+ -> { @http.start }.should raise_error(IOError)
end
end