summaryrefslogtreecommitdiff
path: root/spec/rubyspec/library/net/http/http/shared/version_1_1.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rubyspec/library/net/http/http/shared/version_1_1.rb')
-rw-r--r--spec/rubyspec/library/net/http/http/shared/version_1_1.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/rubyspec/library/net/http/http/shared/version_1_1.rb b/spec/rubyspec/library/net/http/http/shared/version_1_1.rb
new file mode 100644
index 0000000000..db3d6a986d
--- /dev/null
+++ b/spec/rubyspec/library/net/http/http/shared/version_1_1.rb
@@ -0,0 +1,6 @@
+describe :net_http_version_1_1_p, shared: true do
+ it "returns the state of net/http 1.1 features" do
+ Net::HTTP.version_1_2
+ Net::HTTP.send(@method).should be_false
+ end
+end