Sha256: 3aabeb0908679a7077d0efbb69559e3ca0a6e771c4662eadffa79a3146171691

Contents?: true

Size: 280 Bytes

Versions: 5

Compression:

Stored size: 280 Bytes

Contents

require 'spec_helper'

describe Ethon::Libc do
  describe "#getdtablesize" do
    it "returns an integer" do
      expect(Ethon::Libc.getdtablesize).to be_a(Integer)
    end

    it "returns bigger zero" do
      expect(Ethon::Libc.getdtablesize).to_not be_zero
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ethon-0.7.0 spec/ethon/libc_spec.rb
ethon-0.6.3 spec/ethon/libc_spec.rb
ethon-0.6.2 spec/ethon/libc_spec.rb
ethon-0.6.1 spec/ethon/libc_spec.rb
ethon-0.6.0 spec/ethon/libc_spec.rb