summaryrefslogtreecommitdiff
path: root/spec/ruby/library
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2020-09-17 11:42:26 +0200
committerBenoit Daloze <eregontp@gmail.com>2020-09-17 11:42:26 +0200
commit3f6c0a6d74209b03d0ec54b98b5e1ece40d649f0 (patch)
tree15810b34167d6e88c5d24a7968a97deb5120a91d /spec/ruby/library
parentce888bfa231bec52dfd3c1e9562f6ce799d8a389 (diff)
Update to ruby/spec@e829fb0
Diffstat (limited to 'spec/ruby/library')
-rw-r--r--spec/ruby/library/net/http/http/get2_spec.rb2
-rw-r--r--spec/ruby/library/net/http/http/head2_spec.rb2
-rw-r--r--spec/ruby/library/net/http/http/post2_spec.rb2
-rw-r--r--spec/ruby/library/net/http/http/put2_spec.rb2
-rw-r--r--spec/ruby/library/net/http/http/request_get_spec.rb2
-rw-r--r--spec/ruby/library/net/http/http/request_head_spec.rb2
-rw-r--r--spec/ruby/library/net/http/http/request_post_spec.rb2
-rw-r--r--spec/ruby/library/net/http/http/request_put_spec.rb2
-rw-r--r--spec/ruby/library/net/http/http/shared/request_get.rb2
-rw-r--r--spec/ruby/library/net/http/http/shared/request_head.rb2
-rw-r--r--spec/ruby/library/net/http/http/shared/request_post.rb2
-rw-r--r--spec/ruby/library/net/http/http/shared/request_put.rb2
12 files changed, 12 insertions, 12 deletions
diff --git a/spec/ruby/library/net/http/http/get2_spec.rb b/spec/ruby/library/net/http/http/get2_spec.rb
index 71dfc3d39b..519e4c2599 100644
--- a/spec/ruby/library/net/http/http/get2_spec.rb
+++ b/spec/ruby/library/net/http/http/get2_spec.rb
@@ -4,5 +4,5 @@ require_relative 'fixtures/http_server'
require_relative 'shared/request_get'
describe "Net::HTTP#get2" do
- it_behaves_like :net_ftp_request_get, :get2
+ it_behaves_like :net_http_request_get, :get2
end
diff --git a/spec/ruby/library/net/http/http/head2_spec.rb b/spec/ruby/library/net/http/http/head2_spec.rb
index 606798e4af..6958204ee1 100644
--- a/spec/ruby/library/net/http/http/head2_spec.rb
+++ b/spec/ruby/library/net/http/http/head2_spec.rb
@@ -4,5 +4,5 @@ require_relative 'fixtures/http_server'
require_relative 'shared/request_head'
describe "Net::HTTP#head2" do
- it_behaves_like :net_ftp_request_head, :head2
+ it_behaves_like :net_http_request_head, :head2
end
diff --git a/spec/ruby/library/net/http/http/post2_spec.rb b/spec/ruby/library/net/http/http/post2_spec.rb
index eab9a6a1d2..ccc95068fb 100644
--- a/spec/ruby/library/net/http/http/post2_spec.rb
+++ b/spec/ruby/library/net/http/http/post2_spec.rb
@@ -4,5 +4,5 @@ require_relative 'fixtures/http_server'
require_relative 'shared/request_post'
describe "Net::HTTP#post2" do
- it_behaves_like :net_ftp_request_post, :post2
+ it_behaves_like :net_http_request_post, :post2
end
diff --git a/spec/ruby/library/net/http/http/put2_spec.rb b/spec/ruby/library/net/http/http/put2_spec.rb
index 0ee3590639..99329a5fd9 100644
--- a/spec/ruby/library/net/http/http/put2_spec.rb
+++ b/spec/ruby/library/net/http/http/put2_spec.rb
@@ -4,5 +4,5 @@ require_relative 'fixtures/http_server'
require_relative 'shared/request_put'
describe "Net::HTTP#put2" do
- it_behaves_like :net_ftp_request_put, :put2
+ it_behaves_like :net_http_request_put, :put2
end
diff --git a/spec/ruby/library/net/http/http/request_get_spec.rb b/spec/ruby/library/net/http/http/request_get_spec.rb
index f53a2e9d65..9932ef0beb 100644
--- a/spec/ruby/library/net/http/http/request_get_spec.rb
+++ b/spec/ruby/library/net/http/http/request_get_spec.rb
@@ -4,5 +4,5 @@ require_relative 'fixtures/http_server'
require_relative 'shared/request_get'
describe "Net::HTTP#request_get" do
- it_behaves_like :net_ftp_request_get, :get2
+ it_behaves_like :net_http_request_get, :get2
end
diff --git a/spec/ruby/library/net/http/http/request_head_spec.rb b/spec/ruby/library/net/http/http/request_head_spec.rb
index dc47557b9d..788101c951 100644
--- a/spec/ruby/library/net/http/http/request_head_spec.rb
+++ b/spec/ruby/library/net/http/http/request_head_spec.rb
@@ -4,5 +4,5 @@ require_relative 'fixtures/http_server'
require_relative 'shared/request_head'
describe "Net::HTTP#request_head" do
- it_behaves_like :net_ftp_request_head, :request_head
+ it_behaves_like :net_http_request_head, :request_head
end
diff --git a/spec/ruby/library/net/http/http/request_post_spec.rb b/spec/ruby/library/net/http/http/request_post_spec.rb
index 0b408fa84d..7ac67cf95d 100644
--- a/spec/ruby/library/net/http/http/request_post_spec.rb
+++ b/spec/ruby/library/net/http/http/request_post_spec.rb
@@ -4,5 +4,5 @@ require_relative 'fixtures/http_server'
require_relative 'shared/request_post'
describe "Net::HTTP#request_post" do
- it_behaves_like :net_ftp_request_post, :request_post
+ it_behaves_like :net_http_request_post, :request_post
end
diff --git a/spec/ruby/library/net/http/http/request_put_spec.rb b/spec/ruby/library/net/http/http/request_put_spec.rb
index 987b52ceb0..110ac43ca6 100644
--- a/spec/ruby/library/net/http/http/request_put_spec.rb
+++ b/spec/ruby/library/net/http/http/request_put_spec.rb
@@ -4,5 +4,5 @@ require_relative 'fixtures/http_server'
require_relative 'shared/request_put'
describe "Net::HTTP#request_put" do
- it_behaves_like :net_ftp_request_put, :request_put
+ it_behaves_like :net_http_request_put, :request_put
end
diff --git a/spec/ruby/library/net/http/http/shared/request_get.rb b/spec/ruby/library/net/http/http/shared/request_get.rb
index b0eca665d6..d25f32049b 100644
--- a/spec/ruby/library/net/http/http/shared/request_get.rb
+++ b/spec/ruby/library/net/http/http/shared/request_get.rb
@@ -1,4 +1,4 @@
-describe :net_ftp_request_get, shared: true do
+describe :net_http_request_get, shared: true do
before :each do
NetHTTPSpecs.start_server
@http = Net::HTTP.start("localhost", NetHTTPSpecs.port)
diff --git a/spec/ruby/library/net/http/http/shared/request_head.rb b/spec/ruby/library/net/http/http/shared/request_head.rb
index 0e669de9ac..78b555884b 100644
--- a/spec/ruby/library/net/http/http/shared/request_head.rb
+++ b/spec/ruby/library/net/http/http/shared/request_head.rb
@@ -1,4 +1,4 @@
-describe :net_ftp_request_head, shared: true do
+describe :net_http_request_head, shared: true do
before :each do
NetHTTPSpecs.start_server
@http = Net::HTTP.start("localhost", NetHTTPSpecs.port)
diff --git a/spec/ruby/library/net/http/http/shared/request_post.rb b/spec/ruby/library/net/http/http/shared/request_post.rb
index 06c5e139f9..e832411c48 100644
--- a/spec/ruby/library/net/http/http/shared/request_post.rb
+++ b/spec/ruby/library/net/http/http/shared/request_post.rb
@@ -1,4 +1,4 @@
-describe :net_ftp_request_post, shared: true do
+describe :net_http_request_post, shared: true do
before :each do
NetHTTPSpecs.start_server
@http = Net::HTTP.start("localhost", NetHTTPSpecs.port)
diff --git a/spec/ruby/library/net/http/http/shared/request_put.rb b/spec/ruby/library/net/http/http/shared/request_put.rb
index 6ae791d7e7..3b902f4957 100644
--- a/spec/ruby/library/net/http/http/shared/request_put.rb
+++ b/spec/ruby/library/net/http/http/shared/request_put.rb
@@ -1,4 +1,4 @@
-describe :net_ftp_request_put, shared: true do
+describe :net_http_request_put, shared: true do
before :each do
NetHTTPSpecs.start_server
@http = Net::HTTP.start("localhost", NetHTTPSpecs.port)