summaryrefslogtreecommitdiff
path: root/spec/ruby/library/zlib/zstream/avail_out_spec.rb
blob: c747bbbc2f93f5a2102cdfff96e038944a70f4a6 (plain)
1
2
3
4
5
6
7
8
9
require File.expand_path('../../../../spec_helper', __FILE__)
require 'zlib'

describe "Zlib::ZStream#avail_out" do
  it "returns bytes in the output buffer" do
    z = Zlib::Deflate.new
    z.avail_out.should == 0
  end
end