Sha256: 00ac76d997b98fc3f1fd580fb04fd27f50b4dc35d1d0522a53fcbec717d996d2

Contents?: true

Size: 385 Bytes

Versions: 1

Compression:

Stored size: 385 Bytes

Contents

# frozen_string_literal: true
require 'spec_helper'

describe Ethon::Libc do
  describe "#sysconf(:open_max)", :if => !Ethon::Curl.windows? do
    it "returns an integer" do
      expect(Ethon::Libc.sysconf(:open_max)).to be_a(Integer)
    end

    it "returns bigger zero", :if => !Ethon::Curl.windows? do
      expect(Ethon::Libc.sysconf(:open_max)).to_not be_zero
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ethon-0.13.0 spec/ethon/libc_spec.rb