summaryrefslogtreecommitdiff
path: root/test/rubygems/test_open_uri.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rubygems/test_open_uri.rb')
-rw-r--r--test/rubygems/test_open_uri.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/rubygems/test_open_uri.rb b/test/rubygems/test_open_uri.rb
new file mode 100644
index 0000000000..6f18b7bb6b
--- /dev/null
+++ b/test/rubygems/test_open_uri.rb
@@ -0,0 +1,13 @@
+require 'test/unit'
+require 'rubygems/gem_open_uri'
+
+class TestOpenURI < Test::Unit::TestCase
+
+ def test_open_uri_not_broken
+ assert_nothing_raised do
+ open __FILE__ do end
+ end
+ end
+
+end
+