Sha256: 225bac5dac469934f21f367f346aca0cc86bc3fcf747f3697a21eaac38d8e7e5

Contents?: true

Size: 300 Bytes

Versions: 3

Compression:

Stored size: 300 Bytes

Contents

require "spec_helper"

describe Rdkafka::FFI do
  it "should load librdkafka" do
    expect(Rdkafka::FFI.ffi_libraries.map(&:name).first).to include "librdkafka"
  end

  it "should successfully call librdkafka" do
    expect {
      Rdkafka::FFI.rd_kafka_conf_new
    }.not_to raise_error
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rdkafka-0.2.0 spec/rdkafka/ffi_spec.rb
rdkafka-0.1.11 spec/rdkafka/ffi_spec.rb
rdkafka-0.1.10 spec/rdkafka/ffi_spec.rb