summaryrefslogtreecommitdiff
path: root/spec/ruby/library/zlib/zlib_version_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/zlib/zlib_version_spec.rb')
-rw-r--r--spec/ruby/library/zlib/zlib_version_spec.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/ruby/library/zlib/zlib_version_spec.rb b/spec/ruby/library/zlib/zlib_version_spec.rb
index e724feaa39..f83dfae66d 100644
--- a/spec/ruby/library/zlib/zlib_version_spec.rb
+++ b/spec/ruby/library/zlib/zlib_version_spec.rb
@@ -1 +1,8 @@
require_relative '../../spec_helper'
+require 'zlib'
+
+describe "Zlib.zlib_version" do
+ it "returns the version of the libz library" do
+ Zlib.zlib_version.should be_an_instance_of(String)
+ end
+end